Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") [: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.002117/0.002117, allocations: 178.5 kB / 7.447 MB, free: 2.312 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.198/1.198, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.0009396/0.0009396, allocations: 95.56 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4209/0.4209, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.773e-06/6.823e-06, allocations: 0 / 484.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2936, allocations: 69.35 MB / 0.5407 GB, free: 21.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.4092, allocations: 96.24 MB / 0.6347 GB, free: 8.434 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4095, allocations: 79.95 kB / 0.6348 GB, free: 8.355 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06623/0.4757, allocations: 22.7 MB / 0.6569 GB, free: 1.477 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.347e-05/0.4758, allocations: 20 kB / 0.657 GB, free: 1.457 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005065/0.4809, allocations: 1.648 MB / 0.6586 GB, free: 15.76 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4809, allocations: 8.031 kB / 0.6586 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00375/0.4847, allocations: 0.5605 MB / 0.6591 GB, free: 15.19 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.4862, allocations: 0.6836 MB / 0.6598 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002961/0.4865, allocations: 240.1 kB / 0.66 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.4867, allocations: 36 kB / 0.6601 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001582/0.4883, allocations: 0.746 MB / 0.6608 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.4897, allocations: 0.6907 MB / 0.6615 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.4898, allocations: 0 / 0.6615 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.4899, allocations: 0 / 0.6615 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.4899, allocations: 23.94 kB / 0.6615 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006167/0.4961, allocations: 3.143 MB / 0.6646 GB, free: 9.406 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.4971, allocations: 0.499 MB / 0.665 GB, free: 8.902 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008944/0.498, allocations: 0.5067 MB / 0.6655 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.4981, allocations: 16.62 kB / 0.6656 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.4981, allocations: 39.22 kB / 0.6656 GB, free: 8.332 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 4.208e-06/0.4981, allocations: 0 / 0.6656 GB, free: 8.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.01369/0.5118, allocations: 4.183 MB / 0.6697 GB, free: 4.133 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5119, allocations: 60.06 kB / 0.6697 GB, free: 4.062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.5129, allocations: 0.6104 MB / 0.6703 GB, free: 3.449 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.5131, allocations: 25.7 kB / 0.6704 GB, free: 3.418 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.5133, allocations: 288.3 kB / 0.6706 GB, free: 3.133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.5137, allocations: 279.8 kB / 0.6709 GB, free: 2.855 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.5137, allocations: 0 / 0.6709 GB, free: 2.855 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5139, allocations: 337.9 kB / 0.6712 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.5146, allocations: 397.5 kB / 0.6716 GB, free: 2.133 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008239/0.5154, allocations: 495.6 kB / 0.6721 GB, free: 1.617 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.5162, allocations: 437.2 kB / 0.6725 GB, free: 1.191 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5162, allocations: 0 / 0.6725 GB, free: 1.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.1629/0.6791, allocations: 4.243 MB / 0.6766 GB, free: 143.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.6791, allocations: 3.812 kB / 0.6766 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.6792, allocations: 5 kB / 0.6766 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005758/0.6849, allocations: 1.748 MB / 0.6783 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.6857, allocations: 131 kB / 0.6785 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.6992, allocations: 6.377 MB / 0.6847 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.7005, allocations: 163.3 kB / 0.6849 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.7006, allocations: 29.59 kB / 0.6849 GB, free: 142.3 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-axis transient voltage" 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 (61): * Single equations (assignments): 60 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002533/0.7008, allocations: 118.5 kB / 0.685 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.701, allocations: 107.2 kB / 0.6851 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.7132, allocations: 4.259 MB / 0.6893 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.7132, allocations: 9.844 kB / 0.6893 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7132, allocations: 3.469 kB / 0.6893 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/0.7133, allocations: 7.609 kB / 0.6893 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.7273, allocations: 5.517 MB / 0.6947 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.7274, allocations: 0 / 0.6947 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007083/0.7281, allocations: 98.66 kB / 0.6948 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005765/0.7338, allocations: 1.73 MB / 0.6964 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/0.734, allocations: 5.156 kB / 0.6965 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.7471, allocations: 5.654 MB / 0.702 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.7471, allocations: 1.344 kB / 0.702 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01377/0.7609, allocations: 4.97 MB / 0.7068 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.7613, allocations: 189.7 kB / 0.707 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.7615, allocations: 3.516 kB / 0.707 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7625, allocations: 129.6 kB / 0.7071 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002973/0.7628, allocations: 117.4 kB / 0.7072 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-05/0.7629, allocations: 18.53 kB / 0.7073 GB, free: 138.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006011/0.7635, allocations: 484.2 kB / 0.7077 GB, free: 138.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001102/0.7646, allocations: 354.8 kB / 0.7081 GB, free: 138.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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.0002619/0.7649, allocations: 131.9 kB / 0.7082 GB, free: 138.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005028/0.7699, allocations: 1.853 MB / 0.71 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7699, allocations: 0 / 0.71 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004129/0.7741, allocations: 1.392 MB / 0.7114 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.0005623/0.7747, allocations: 57.03 kB / 0.7114 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.7777, allocations: 1.249 MB / 0.7126 GB, free: 137.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.7784, allocations: 1.083 MB / 0.7137 GB, free: 137 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7784, allocations: 0 / 0.7137 GB, free: 137 MB / 490.7 MB Notification: Performance of Templates: time 0.0288/0.8072, allocations: 17.42 MB / 0.7307 GB, free: 135.1 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)