Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.TestTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") translateModel(HanserModelica.Magnetic.TestTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.TestTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004173/0.004173, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0354/0.0354, allocations: 8.801 MB / 24.65 MB, free: 4.113 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 223.2 MB / 250.7 MB, free: 4.824 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008/0.0007999, allocations: 102.9 kB / 304 MB, free: 3.555 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 16 kB / 367.1 MB, free: 6.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08354, allocations: 52.53 MB / 419.6 MB, free: 2.23 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2356/0.3191, allocations: 83.4 MB / 0.4912 GB, free: 9.113 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001995/0.3194, allocations: 69.47 kB / 0.4913 GB, free: 9.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02603/0.3454, allocations: 10.39 MB / 0.5014 GB, free: 14.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3455, allocations: 0 / 0.5014 GB, free: 14.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.3455, allocations: 12 kB / 0.5014 GB, free: 14.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001123/0.3466, allocations: 0.7454 MB / 0.5022 GB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3467, allocations: 12.56 kB / 0.5022 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3468, allocations: 56.28 kB / 0.5022 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.3472, allocations: 350.8 kB / 0.5026 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.3473, allocations: 38.62 kB / 0.5026 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.915e-05/0.3474, allocations: 51.91 kB / 0.5027 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/0.3482, allocations: 0.5224 MB / 0.5032 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.3482, allocations: 0 / 0.5032 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/0.3483, allocations: 23.95 kB / 0.5032 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.3483, allocations: 12 kB / 0.5032 GB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.3491, allocations: 403.8 kB / 0.5036 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.3517, allocations: 1.954 MB / 0.5055 GB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.3523, allocations: 323.5 kB / 0.5058 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3524, allocations: 4.281 kB / 0.5058 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.3524, allocations: 34.84 kB / 0.5058 GB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.3524, allocations: 0 / 0.5058 GB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.004242/0.3567, allocations: 1.759 MB / 0.5076 GB, free: 8.305 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3567, allocations: 59.83 kB / 0.5076 GB, free: 8.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.357, allocations: 270.4 kB / 0.5079 GB, free: 7.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.3571, allocations: 37.64 kB / 0.5079 GB, free: 7.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.3572, allocations: 260.4 kB / 0.5082 GB, free: 7.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.3574, allocations: 157.6 kB / 0.5083 GB, free: 7.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.3574, allocations: 12 kB / 0.5083 GB, free: 7.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3575, allocations: 342.8 kB / 0.5087 GB, free: 7.152 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.3579, allocations: 157 kB / 0.5088 GB, free: 7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.3583, allocations: 228.8 kB / 0.509 GB, free: 6.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.3586, allocations: 180.8 kB / 0.5092 GB, free: 6.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3587, allocations: 0 / 0.5092 GB, free: 6.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001023/0.3597, allocations: 0.5598 MB / 0.5097 GB, free: 6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.3597, allocations: 4 kB / 0.5097 GB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3597, allocations: 7.953 kB / 0.5098 GB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.36, allocations: 91.88 kB / 0.5098 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.3605, allocations: 107.9 kB / 0.5099 GB, free: 5.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.3631, allocations: 3.26 MB / 0.5131 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.3634, allocations: 27.97 kB / 0.5132 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3635, allocations: 18.11 kB / 0.5132 GB, free: 2.227 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002502/0.3637, allocations: 177.7 kB / 0.5133 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.3638, allocations: 39.53 kB / 0.5134 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.855e-05/0.3639, allocations: 59.73 kB / 0.5134 GB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3639, allocations: 4 kB / 0.5134 GB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3639, allocations: 0 / 0.5134 GB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3639, allocations: 3.984 kB / 0.5134 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.3645, allocations: 0.5367 MB / 0.514 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3645, allocations: 4 kB / 0.514 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004032/0.365, allocations: 83.88 kB / 0.514 GB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.3652, allocations: 95.92 kB / 0.5141 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.3652, allocations: 13.77 kB / 0.5142 GB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.3677, allocations: 3.255 MB / 0.5173 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3678, allocations: 0 / 0.5173 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3691, allocations: 0.7849 MB / 0.5181 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.3693, allocations: 152.6 kB / 0.5182 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.63e-05/0.3693, allocations: 12 kB / 0.5183 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.3696, allocations: 27.98 kB / 0.5183 GB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.891e-05/0.3697, allocations: 36.33 kB / 0.5183 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.3698, allocations: 15.98 kB / 0.5183 GB, free: 12.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002174/0.37, allocations: 202 kB / 0.5185 GB, free: 12.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.37, allocations: 4 kB / 0.5185 GB, free: 12.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006143/0.3706, allocations: 120 kB / 0.5186 GB, free: 12.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (transformer.converter1.i,transformer.converter1.Phi) * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001454/0.3708, allocations: 107.2 kB / 0.5187 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.372, allocations: 0.666 MB / 0.5194 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.372, allocations: 0 / 0.5194 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007312/0.3728, allocations: 0.4884 MB / 0.5199 GB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3731, allocations: 55.33 kB / 0.5199 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.375, allocations: 1.257 MB / 0.5212 GB, free: 9.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.3753, allocations: 0.8473 MB / 0.522 GB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.3756, allocations: 43.25 kB / 0.522 GB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.3757, allocations: 27.44 kB / 0.522 GB, free: 8.656 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3757, allocations: 4 kB / 0.5221 GB, free: 8.652 MB / 394.7 MB Notification: Performance of Templates: time 0.008062/0.3837, allocations: 4.423 MB / 0.5264 GB, free: 4.355 MB / 394.7 MB make -j1 -f HanserModelica_HanserModelica.Magnetic.TestTransformer.makefile (rm -f HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.TestTransformer.sim & ./HanserModelica_HanserModelica.Magnetic.TestTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.TestTransformer.pipe 2>&1)