Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.003078/0.003078, allocations: 183.2 kB / 7.456 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009551/0.0009552, allocations: 87.94 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09122/0.09122, allocations: 12.59 MB / 321.6 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3818/0.3818, allocations: 78.04 MB / 450.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.11e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 69.32 MB / 0.5818 GB, free: 8.758 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4713, allocations: 97.56 MB / 0.6771 GB, free: 9.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4716, allocations: 79.83 kB / 0.6772 GB, free: 9.719 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05516/0.5268, allocations: 21.65 MB / 0.6983 GB, free: 9.137 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.139e-05/0.5269, allocations: 16 kB / 0.6983 GB, free: 9.121 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005146/0.5321, allocations: 1.638 MB / 0.6999 GB, free: 7.547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.5322, allocations: 11.97 kB / 0.6999 GB, free: 7.535 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/0.5362, allocations: 0.5601 MB / 0.7005 GB, free: 7.023 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.5382, allocations: 0.6731 MB / 0.7012 GB, free: 6.438 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003987/0.5386, allocations: 247.4 kB / 0.7014 GB, free: 6.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.539, allocations: 36 kB / 0.7014 GB, free: 6.125 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001737/0.5407, allocations: 0.7392 MB / 0.7021 GB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5422, allocations: 0.6862 MB / 0.7028 GB, free: 5.219 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5423, allocations: 4 kB / 0.7028 GB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.5424, allocations: 0 / 0.7028 GB, free: 5.215 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.5424, allocations: 16 kB / 0.7028 GB, free: 5.199 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006219/0.5486, allocations: 3.109 MB / 0.7059 GB, free: 2.766 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.5495, allocations: 0.4968 MB / 0.7064 GB, free: 2.492 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.5503, allocations: 0.5001 MB / 0.7068 GB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.5504, allocations: 20.56 kB / 0.7069 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5504, allocations: 45.34 kB / 0.7069 GB, free: 2.164 MB / 442.7 MB Notification: Performance of pre-optimization done (n=81): time 2.244e-06/0.5505, allocations: 0 / 0.7069 GB, free: 2.164 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.01281/0.5633, allocations: 4.165 MB / 0.711 GB, free: 14.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.5634, allocations: 60.06 kB / 0.711 GB, free: 14.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.5645, allocations: 0.603 MB / 0.7116 GB, free: 13.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.5647, allocations: 25.7 kB / 0.7116 GB, free: 13.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.5649, allocations: 289.5 kB / 0.7119 GB, free: 13.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/0.5653, allocations: 271.7 kB / 0.7122 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/0.5654, allocations: 0 / 0.7122 GB, free: 13.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5656, allocations: 337.5 kB / 0.7125 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006942/0.5663, allocations: 390.9 kB / 0.7129 GB, free: 12.93 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.567, allocations: 499.4 kB / 0.7134 GB, free: 12.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.5677, allocations: 425.8 kB / 0.7138 GB, free: 12.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.5677, allocations: 4 kB / 0.7138 GB, free: 12.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01291/0.5806, allocations: 4.253 MB / 0.7179 GB, free: 8.652 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.5807, allocations: 4 kB / 0.7179 GB, free: 8.648 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5807, allocations: 4 kB / 0.7179 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006058/0.5868, allocations: 1.752 MB / 0.7196 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007334/0.5876, allocations: 119.4 kB / 0.7197 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.6025, allocations: 6.133 MB / 0.7257 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.6039, allocations: 171.3 kB / 0.7259 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.6041, allocations: 23.88 kB / 0.7259 GB, free: 2.203 MB / 458.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.0003247/0.6044, allocations: 120.8 kB / 0.726 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003198/0.6047, allocations: 98.78 kB / 0.7261 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/0.6174, allocations: 4.241 MB / 0.7303 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.6175, allocations: 8 kB / 0.7303 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6175, allocations: 0 / 0.7303 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.408e-05/0.6175, allocations: 3.984 kB / 0.7303 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.6326, allocations: 5.53 MB / 0.7357 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.6327, allocations: 0 / 0.7357 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.6333, allocations: 95.88 kB / 0.7358 GB, free: 9.312 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005877/0.6392, allocations: 1.726 MB / 0.7375 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002296/0.6395, allocations: 4 kB / 0.7375 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/0.6528, allocations: 5.663 MB / 0.743 GB, free: 1.797 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6528, allocations: 0 / 0.743 GB, free: 1.797 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0139/0.6668, allocations: 4.982 MB / 0.7479 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.6672, allocations: 191.6 kB / 0.748 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.6675, allocations: 0 / 0.748 GB, free: 12.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.6687, allocations: 132 kB / 0.7482 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003277/0.6691, allocations: 120.6 kB / 0.7483 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.073e-05/0.6691, allocations: 16 kB / 0.7483 GB, free: 12.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007047/0.6699, allocations: 475.1 kB / 0.7488 GB, free: 11.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001296/0.6712, allocations: 351.5 kB / 0.7491 GB, free: 11.52 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.0003017/0.6715, allocations: 135.1 kB / 0.7492 GB, free: 11.38 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005178/0.6767, allocations: 1.856 MB / 0.751 GB, free: 9.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6767, allocations: 0 / 0.751 GB, free: 9.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004187/0.6809, allocations: 1.393 MB / 0.7524 GB, free: 8.098 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.6815, allocations: 51.31 kB / 0.7524 GB, free: 8.047 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.6848, allocations: 1.164 MB / 0.7536 GB, free: 6.852 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000856/0.6857, allocations: 1.079 MB / 0.7546 GB, free: 5.742 MB / 490.7 MB Notification: Performance of SimCode: time 1.123e-06/0.6857, allocations: 0 / 0.7546 GB, free: 5.742 MB / 490.7 MB Notification: Performance of Templates: time 0.03062/0.7163, allocations: 17.05 MB / 0.7713 GB, free: 4.684 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)