Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008128, allocations: 86.62 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3491/0.3491, allocations: 43.46 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.207e-05, allocations: 3.938 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4955, allocations: 100.8 MB / 0.5712 GB, free: 4.973 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.4958, allocations: 84.45 kB / 0.5713 GB, free: 4.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08477/0.5805, allocations: 39.18 MB / 0.6096 GB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5806, allocations: 0 / 0.6096 GB, free: 4.598 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.281e-05/0.5806, allocations: 23.98 kB / 0.6096 GB, free: 4.574 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.00493/0.5856, allocations: 1.692 MB / 0.6113 GB, free: 3.008 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5856, allocations: 8.031 kB / 0.6113 GB, free: 3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006974/0.5926, allocations: 1.061 MB / 0.6123 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.5939, allocations: 0.6066 MB / 0.6129 GB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.958e-05/0.594, allocations: 99.28 kB / 0.613 GB, free: 1.496 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.5942, allocations: 137.9 kB / 0.6131 GB, free: 1.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00244/0.5967, allocations: 1.466 MB / 0.6146 GB, free: 436 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.5967, allocations: 4 kB / 0.6146 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.5969, allocations: 62.06 kB / 0.6146 GB, free: 416 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/0.5969, allocations: 32 kB / 0.6146 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.5993, allocations: 1.5 MB / 0.6161 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007862/0.6072, allocations: 5.624 MB / 0.6216 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002173/0.6094, allocations: 2.339 MB / 0.6239 GB, free: 7.434 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/0.6102, allocations: 0.6273 MB / 0.6245 GB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.6104, allocations: 106 kB / 0.6246 GB, free: 6.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.6104, allocations: 51.56 kB / 0.6246 GB, free: 6.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 3.266e-06/0.6104, allocations: 4 kB / 0.6247 GB, free: 6.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.002119/0.6126, allocations: 1.242 MB / 0.6259 GB, free: 5.355 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.6126, allocations: 94.09 kB / 0.626 GB, free: 5.246 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.6131, allocations: 411.8 kB / 0.6263 GB, free: 4.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.619e-05/0.6132, allocations: 45.7 kB / 0.6264 GB, free: 4.789 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.6136, allocations: 475.4 kB / 0.6268 GB, free: 4.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.6139, allocations: 429.7 kB / 0.6273 GB, free: 3.891 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.614, allocations: 28.03 kB / 0.6273 GB, free: 3.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.6142, allocations: 386.8 kB / 0.6276 GB, free: 3.477 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007213/0.6149, allocations: 422.6 kB / 0.6281 GB, free: 3.062 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/0.6158, allocations: 0.6714 MB / 0.6287 GB, free: 2.289 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008409/0.6166, allocations: 0.4968 MB / 0.6292 GB, free: 1.797 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6166, allocations: 0 / 0.6292 GB, free: 1.797 MB / 442.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.002631/0.6193, allocations: 1.529 MB / 0.6307 GB, free: 264 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.6193, allocations: 11.95 kB / 0.6307 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.6193, allocations: 8 kB / 0.6307 GB, free: 244 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.6209, allocations: 0.5127 MB / 0.6312 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.6217, allocations: 207.7 kB / 0.6314 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006544/0.6283, allocations: 4.259 MB / 0.6356 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.6292, allocations: 130.6 kB / 0.6357 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/0.6294, allocations: 51.98 kB / 0.6357 GB, free: 10.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002474/0.6296, allocations: 184.4 kB / 0.6359 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6298, allocations: 79.06 kB / 0.636 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.6324, allocations: 1.505 MB / 0.6375 GB, free: 9.164 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.6324, allocations: 12 kB / 0.6375 GB, free: 9.152 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6324, allocations: 12 kB / 0.6375 GB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.6325, allocations: 7.969 kB / 0.6375 GB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.637, allocations: 2.824 MB / 0.6402 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.637, allocations: 0 / 0.6402 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006465/0.6377, allocations: 143.8 kB / 0.6404 GB, free: 6.102 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.6391, allocations: 0.5067 MB / 0.6409 GB, free: 5.594 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.6392, allocations: 27.98 kB / 0.6409 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006353/0.6455, allocations: 4.27 MB / 0.6451 GB, free: 1.16 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6456, allocations: 4 kB / 0.6451 GB, free: 1.156 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003526/0.6491, allocations: 2.206 MB / 0.6472 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.6497, allocations: 295.6 kB / 0.6475 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.6498, allocations: 20 kB / 0.6475 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.6504, allocations: 60.03 kB / 0.6476 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.6507, allocations: 97.17 kB / 0.6477 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/0.6508, allocations: 35.98 kB / 0.6477 GB, free: 14.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004046/0.6512, allocations: 317.6 kB / 0.648 GB, free: 14.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6512, allocations: 0 / 0.648 GB, free: 14.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0013/0.6525, allocations: 419.1 kB / 0.6484 GB, free: 13.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 85 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003435/0.6529, allocations: 191.8 kB / 0.6486 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003131/0.656, allocations: 1.679 MB / 0.6502 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.656, allocations: 0 / 0.6502 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001967/0.658, allocations: 1.11 MB / 0.6513 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005446/0.6585, allocations: 82.06 kB / 0.6514 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/0.6634, allocations: 2.13 MB / 0.6535 GB, free: 8.426 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/0.6642, allocations: 1.103 MB / 0.6546 GB, free: 7.297 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00055/0.6647, allocations: 119 kB / 0.6547 GB, free: 7.176 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.6649, allocations: 63.42 kB / 0.6547 GB, free: 7.113 MB / 474.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6649, allocations: 3.938 kB / 0.6547 GB, free: 7.109 MB / 474.7 MB Notification: Performance of Templates: time 0.02922/0.6942, allocations: 16.11 MB / 0.6705 GB, free: 7.051 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1)