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.001257/0.001257, allocations: 171.1 kB / 16.76 MB, free: 5.059 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.578/1.578, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007977/0.0007984, allocations: 89.34 kB / 271.3 MB, free: 8.254 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.3682/0.3682, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 12 kB / 432.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5657, allocations: 101 MB / 0.5786 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.566, allocations: 85.8 kB / 0.5787 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09344/0.6594, allocations: 39.16 MB / 0.6169 GB, free: 9.309 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6595, allocations: 0 / 0.6169 GB, free: 9.309 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.573e-05/0.6596, allocations: 20 kB / 0.6169 GB, free: 9.289 MB / 442.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.006287/0.6659, allocations: 1.764 MB / 0.6187 GB, free: 7.477 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.6659, allocations: 8.031 kB / 0.6187 GB, free: 7.469 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007101/0.6731, allocations: 1.065 MB / 0.6197 GB, free: 6.402 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.6747, allocations: 0.6169 MB / 0.6203 GB, free: 5.742 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.6749, allocations: 107 kB / 0.6204 GB, free: 5.637 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004527/0.6753, allocations: 128.4 kB / 0.6205 GB, free: 5.512 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/0.6782, allocations: 1.531 MB / 0.622 GB, free: 3.934 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-05/0.6783, allocations: 11.84 kB / 0.622 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.6784, allocations: 60 kB / 0.6221 GB, free: 3.863 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.6785, allocations: 36 kB / 0.6221 GB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002736/0.6812, allocations: 1.591 MB / 0.6237 GB, free: 2.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008423/0.6896, allocations: 5.63 MB / 0.6292 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.6922, allocations: 2.374 MB / 0.6315 GB, free: 9.684 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/0.6932, allocations: 0.6646 MB / 0.6321 GB, free: 9.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/0.6933, allocations: 102.1 kB / 0.6322 GB, free: 8.902 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.6934, allocations: 43.56 kB / 0.6323 GB, free: 8.852 MB / 458.7 MB Notification: Performance of pre-optimization done (n=129): time 4.298e-06/0.6934, allocations: 4 kB / 0.6323 GB, free: 8.848 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.008484/0.7019, allocations: 3.199 MB / 0.6354 GB, free: 5.617 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.702, allocations: 90.11 kB / 0.6355 GB, free: 5.512 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.7027, allocations: 489.8 kB / 0.636 GB, free: 5.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/0.7028, allocations: 45.7 kB / 0.636 GB, free: 4.969 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.7031, allocations: 475.5 kB / 0.6365 GB, free: 4.496 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.7035, allocations: 425.8 kB / 0.6369 GB, free: 4.074 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.755e-05/0.7035, allocations: 28 kB / 0.6369 GB, free: 4.047 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.7037, allocations: 386.7 kB / 0.6373 GB, free: 3.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/0.7046, allocations: 462.4 kB / 0.6377 GB, free: 3.211 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.7056, allocations: 0.7261 MB / 0.6384 GB, free: 2.383 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/0.7076, allocations: 1.228 MB / 0.6396 GB, free: 1.055 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.7077, allocations: 0 / 0.6396 GB, free: 1.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003054/0.7107, allocations: 1.615 MB / 0.6412 GB, free: 15.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.7108, allocations: 15.88 kB / 0.6412 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.7108, allocations: 8 kB / 0.6412 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001568/0.7124, allocations: 0.5166 MB / 0.6417 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008162/0.7132, allocations: 207.7 kB / 0.6419 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/0.7199, allocations: 4.291 MB / 0.6461 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/0.7209, allocations: 130.7 kB / 0.6462 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.7211, allocations: 52 kB / 0.6463 GB, free: 10.08 MB / 474.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 () * Number of clocked 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.0006904/0.7218, allocations: 277.5 kB / 0.6465 GB, free: 9.797 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.722, allocations: 90.95 kB / 0.6466 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.725, allocations: 1.579 MB / 0.6482 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.725, allocations: 12 kB / 0.6482 GB, free: 8.102 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.725, allocations: 3.938 kB / 0.6482 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/0.7251, allocations: 11.97 kB / 0.6482 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005288/0.7304, allocations: 2.914 MB / 0.651 GB, free: 5.105 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.7304, allocations: 4 kB / 0.6511 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.731, allocations: 147.8 kB / 0.6512 GB, free: 4.957 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/0.7325, allocations: 0.5067 MB / 0.6517 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/0.7326, allocations: 31.98 kB / 0.6517 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006816/0.7394, allocations: 4.274 MB / 0.6559 GB, free: 0 / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7394, allocations: 0 / 0.6559 GB, free: 0 / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.7435, allocations: 2.312 MB / 0.6582 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/0.7441, allocations: 295.6 kB / 0.6584 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.7443, allocations: 28.11 kB / 0.6585 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/0.7451, allocations: 59.97 kB / 0.6585 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.7453, allocations: 97.17 kB / 0.6586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/0.7454, allocations: 36 kB / 0.6586 GB, free: 13.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004357/0.7459, allocations: 318.9 kB / 0.6589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7459, allocations: 4 kB / 0.659 GB, free: 12.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001539/0.7474, allocations: 419 kB / 0.6594 GB, free: 12.42 MB / 490.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 () * Number of clocked 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.0003914/0.7478, allocations: 163.1 kB / 0.6595 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.7516, allocations: 1.782 MB / 0.6612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7516, allocations: 0 / 0.6612 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.7539, allocations: 1.169 MB / 0.6624 GB, free: 9.273 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/0.7549, allocations: 107.4 kB / 0.6625 GB, free: 9.168 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.76, allocations: 2.626 MB / 0.6651 GB, free: 6.516 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009577/0.761, allocations: 1.088 MB / 0.6661 GB, free: 5.398 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006151/0.7616, allocations: 111 kB / 0.6662 GB, free: 5.285 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.7618, allocations: 63.42 kB / 0.6663 GB, free: 5.223 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7618, allocations: 0 / 0.6663 GB, free: 5.223 MB / 490.7 MB Notification: Performance of Templates: time 0.287/1.049, allocations: 16.16 MB / 0.6821 GB, free: 109.6 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)