Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0039/0.0039, allocations: 180 kB / 7.458 MB, free: 2.508 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.27/1.27, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.001008/0.001008, allocations: 88.72 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4675/0.4675, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.544e-06, allocations: 0 / 485.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3326, allocations: 69.51 MB / 0.5419 GB, free: 21.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4713, allocations: 96.82 MB / 0.6364 GB, free: 7.141 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.4717, allocations: 79.95 kB / 0.6365 GB, free: 7.062 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06527/0.5369, allocations: 22.98 MB / 0.6589 GB, free: 15.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.301e-05/0.5371, allocations: 16 kB / 0.659 GB, free: 15.88 MB / 490.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.005136/0.5422, allocations: 1.648 MB / 0.6606 GB, free: 14.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.5423, allocations: 8.031 kB / 0.6606 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003626/0.5459, allocations: 0.5682 MB / 0.6611 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.5476, allocations: 0.6798 MB / 0.6618 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.548, allocations: 236.2 kB / 0.662 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/0.5482, allocations: 43.98 kB / 0.6621 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001645/0.5499, allocations: 0.7421 MB / 0.6628 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.5514, allocations: 0.6868 MB / 0.6635 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5514, allocations: 0 / 0.6635 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.5515, allocations: 0 / 0.6635 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.5515, allocations: 16 kB / 0.6635 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006313/0.5578, allocations: 3.143 MB / 0.6665 GB, free: 7.836 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009764/0.5588, allocations: 0.5068 MB / 0.667 GB, free: 7.324 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000879/0.5597, allocations: 0.5027 MB / 0.6675 GB, free: 6.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.5599, allocations: 20.64 kB / 0.6675 GB, free: 6.801 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.5599, allocations: 35.22 kB / 0.6676 GB, free: 6.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 3.246e-06/0.5599, allocations: 0 / 0.6676 GB, free: 6.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.01599/0.5759, allocations: 4.179 MB / 0.6717 GB, free: 2.566 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.576, allocations: 60.06 kB / 0.6717 GB, free: 2.496 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.5779, allocations: 0.6143 MB / 0.6723 GB, free: 1.879 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002662/0.5782, allocations: 25.7 kB / 0.6723 GB, free: 1.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.5785, allocations: 284.3 kB / 0.6726 GB, free: 1.566 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006777/0.5792, allocations: 279.8 kB / 0.6729 GB, free: 1.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.5794, allocations: 4 kB / 0.6729 GB, free: 1.285 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5797, allocations: 337.9 kB / 0.6732 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.581, allocations: 397.6 kB / 0.6736 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.5826, allocations: 491.6 kB / 0.6741 GB, free: 52 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1969/0.7795, allocations: 439.2 kB / 0.6745 GB, free: 143.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.7796, allocations: 0 / 0.6745 GB, free: 143.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01212/0.7917, allocations: 4.236 MB / 0.6786 GB, free: 143.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.7917, allocations: 6.453 kB / 0.6786 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.7918, allocations: 3.938 kB / 0.6786 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005838/0.7976, allocations: 1.753 MB / 0.6803 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.7984, allocations: 132.1 kB / 0.6805 GB, free: 143.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.8119, allocations: 6.369 MB / 0.6867 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.8132, allocations: 175.7 kB / 0.6868 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/0.8133, allocations: 33.8 kB / 0.6869 GB, free: 142.2 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.0003049/0.8137, allocations: 115.5 kB / 0.687 GB, free: 142.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.8138, allocations: 108.6 kB / 0.6871 GB, free: 142 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.8256, allocations: 4.253 MB / 0.6912 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.8256, allocations: 10.41 kB / 0.6913 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.8256, allocations: 0 / 0.6913 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/0.8257, allocations: 7.219 kB / 0.6913 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.8407, allocations: 5.525 MB / 0.6967 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.8407, allocations: 0 / 0.6967 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/0.8414, allocations: 97.55 kB / 0.6967 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005669/0.8471, allocations: 1.731 MB / 0.6984 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.8473, allocations: 2.906 kB / 0.6984 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01264/0.86, allocations: 5.656 MB / 0.704 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.86, allocations: 3.328 kB / 0.704 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01378/0.8738, allocations: 4.968 MB / 0.7088 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.8743, allocations: 189.1 kB / 0.709 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.8744, allocations: 0 / 0.709 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.8755, allocations: 133.4 kB / 0.7091 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003103/0.8758, allocations: 116.9 kB / 0.7092 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.8759, allocations: 17.81 kB / 0.7093 GB, free: 138.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006221/0.8765, allocations: 483 kB / 0.7097 GB, free: 138.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00124/0.8777, allocations: 359 kB / 0.7101 GB, free: 138.5 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.0003124/0.8781, allocations: 132.2 kB / 0.7102 GB, free: 138.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004767/0.8828, allocations: 1.852 MB / 0.712 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8829, allocations: 1.781 kB / 0.712 GB, free: 138.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004211/0.8871, allocations: 1.398 MB / 0.7134 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007576/0.8879, allocations: 54.12 kB / 0.7134 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.891, allocations: 1.247 MB / 0.7146 GB, free: 137 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006381/0.8917, allocations: 1.086 MB / 0.7157 GB, free: 136.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/0.8917, allocations: 0 / 0.7157 GB, free: 136.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02735/0.919, allocations: 17.41 MB / 0.7327 GB, free: 133.1 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)