Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003274/0.003275, allocations: 178.2 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.4 MB / 229.3 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001312, allocations: 97.41 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4685/0.4685, allocations: 78.91 MB / 409.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.869e-06/1.007e-05, allocations: 4 kB / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3701, allocations: 69.51 MB / 0.5419 GB, free: 20.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4994, allocations: 96.6 MB / 0.6362 GB, free: 7.363 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4997, allocations: 75.95 kB / 0.6363 GB, free: 7.289 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06432/0.5641, allocations: 22.65 MB / 0.6584 GB, free: 468 kB / 474.7 MB Notification: Performance of Transformations before backend: time 6.592e-05/0.5642, allocations: 23.88 kB / 0.6584 GB, free: 444 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005204/0.5694, allocations: 1.629 MB / 0.66 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5695, allocations: 8.031 kB / 0.66 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/0.5732, allocations: 0.5605 MB / 0.6606 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.575, allocations: 0.6642 MB / 0.6612 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.5754, allocations: 243.4 kB / 0.6614 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.5756, allocations: 36 kB / 0.6615 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001629/0.5772, allocations: 0.7446 MB / 0.6622 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5787, allocations: 0.6756 MB / 0.6629 GB, free: 11.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5787, allocations: 7.906 kB / 0.6629 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.5788, allocations: 0 / 0.6629 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.5788, allocations: 16 kB / 0.6629 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006195/0.585, allocations: 3.122 MB / 0.6659 GB, free: 8.457 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.5861, allocations: 0.4912 MB / 0.6664 GB, free: 7.961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008169/0.5869, allocations: 0.5083 MB / 0.6669 GB, free: 7.453 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.587, allocations: 20.53 kB / 0.6669 GB, free: 7.434 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.5871, allocations: 43.22 kB / 0.667 GB, free: 7.383 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 3.055e-06/0.5871, allocations: 0 / 0.667 GB, free: 7.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01328/0.6004, allocations: 4.16 MB / 0.671 GB, free: 3.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.6005, allocations: 60.06 kB / 0.6711 GB, free: 3.141 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.6018, allocations: 0.6102 MB / 0.6717 GB, free: 2.523 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003066/0.6021, allocations: 25.7 kB / 0.6717 GB, free: 2.492 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.6024, allocations: 280.4 kB / 0.672 GB, free: 2.215 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005531/0.6029, allocations: 275.8 kB / 0.6722 GB, free: 1.941 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.603, allocations: 0 / 0.6722 GB, free: 1.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6032, allocations: 337.9 kB / 0.6726 GB, free: 1.605 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008688/0.6041, allocations: 397.5 kB / 0.6729 GB, free: 1.219 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.6049, allocations: 487.6 kB / 0.6734 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.6058, allocations: 433.2 kB / 0.6738 GB, free: 296 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.6058, allocations: 0 / 0.6738 GB, free: 296 kB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.2059/0.8118, allocations: 4.253 MB / 0.678 GB, free: 143.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8118, allocations: 6 kB / 0.678 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.8118, allocations: 0 / 0.678 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00532/0.8172, allocations: 1.759 MB / 0.6797 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/0.8178, allocations: 119 kB / 0.6798 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.8303, allocations: 6.119 MB / 0.6858 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.8315, allocations: 172.5 kB / 0.686 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.8316, allocations: 23.12 kB / 0.686 GB, free: 142.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002446/0.8318, allocations: 121.3 kB / 0.6861 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.832, allocations: 99.67 kB / 0.6862 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.8436, allocations: 4.236 MB / 0.6903 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.8436, allocations: 15.56 kB / 0.6903 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8436, allocations: 0 / 0.6903 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.8436, allocations: 7.547 kB / 0.6903 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.8582, allocations: 5.51 MB / 0.6957 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/0.8582, allocations: 0 / 0.6957 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/0.8589, allocations: 104 kB / 0.6958 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005721/0.8647, allocations: 1.727 MB / 0.6975 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001975/0.8649, allocations: 8.672 kB / 0.6975 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.8779, allocations: 5.664 MB / 0.703 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.8779, allocations: 0 / 0.703 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01308/0.891, allocations: 4.979 MB / 0.7079 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.8915, allocations: 183.7 kB / 0.7081 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.8917, allocations: 10.36 kB / 0.7081 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.8926, allocations: 129 kB / 0.7082 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.8929, allocations: 115.2 kB / 0.7083 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.893, allocations: 17.19 kB / 0.7083 GB, free: 138.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005903/0.8936, allocations: 474.4 kB / 0.7088 GB, free: 138.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001173/0.8948, allocations: 356.8 kB / 0.7091 GB, free: 138.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.000375/0.8952, allocations: 127.1 kB / 0.7093 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004793/0.9, allocations: 1.845 MB / 0.7111 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.9, allocations: 0 / 0.7111 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003931/0.9039, allocations: 1.389 MB / 0.7124 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.9046, allocations: 56.97 kB / 0.7125 GB, free: 138.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.9075, allocations: 1.178 MB / 0.7136 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.9081, allocations: 1.086 MB / 0.7147 GB, free: 136.9 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.9081, allocations: 0 / 0.7147 GB, free: 136.9 MB / 490.7 MB Notification: Performance of Templates: time 0.026/0.9341, allocations: 17.05 MB / 0.7313 GB, free: 134.5 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)