Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.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.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") [: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.002649/0.002649, allocations: 185.6 kB / 7.459 MB, free: 2.5 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.1/1.1, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.0008776/0.0008776, allocations: 97.22 kB / 261.1 MB, free: 13.53 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.0624/0.0624, allocations: 12.59 MB / 321.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2788/0.2788, allocations: 78.05 MB / 450.4 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.362e-06, allocations: 0 / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1196, allocations: 69.32 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.331/0.4506, allocations: 99.27 MB / 0.6788 GB, free: 9.168 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.4508, allocations: 80.52 kB / 0.6788 GB, free: 9.125 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.0905/0.5413, allocations: 33.47 MB / 0.7115 GB, free: 13.63 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.978e-05/0.5414, allocations: 27.06 kB / 0.7115 GB, free: 13.61 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004357/0.5458, allocations: 1.746 MB / 0.7133 GB, free: 11.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.5458, allocations: 11.97 kB / 0.7133 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/0.5494, allocations: 0.5734 MB / 0.7138 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.5509, allocations: 0.8011 MB / 0.7146 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.5511, allocations: 206.5 kB / 0.7148 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.5513, allocations: 55.33 kB / 0.7149 GB, free: 10.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001413/0.5527, allocations: 0.7966 MB / 0.7156 GB, free: 9.922 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.5541, allocations: 0.8338 MB / 0.7165 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5541, allocations: 0 / 0.7165 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.474e-05/0.5542, allocations: 0 / 0.7165 GB, free: 9.336 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.5542, allocations: 24 kB / 0.7165 GB, free: 9.312 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006646/0.5609, allocations: 3.771 MB / 0.7202 GB, free: 6.262 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.562, allocations: 0.6076 MB / 0.7207 GB, free: 5.891 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.5627, allocations: 0.5092 MB / 0.7212 GB, free: 5.613 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.5628, allocations: 28.69 kB / 0.7213 GB, free: 5.586 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.5629, allocations: 42.28 kB / 0.7213 GB, free: 5.539 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 2.946e-06/0.5629, allocations: 0 / 0.7213 GB, free: 5.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.013/0.5759, allocations: 4.042 MB / 0.7253 GB, free: 1.996 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.576, allocations: 141.3 kB / 0.7254 GB, free: 1.828 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.5774, allocations: 0.8118 MB / 0.7262 GB, free: 1.227 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002136/0.5776, allocations: 29.64 kB / 0.7262 GB, free: 1.191 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.5778, allocations: 316.6 kB / 0.7265 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.5782, allocations: 326.6 kB / 0.7268 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.901e-05/0.5783, allocations: 0 / 0.7268 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5784, allocations: 347.5 kB / 0.7272 GB, free: 320 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007372/0.5792, allocations: 431.9 kB / 0.7276 GB, free: 84 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/0.58, allocations: 0.552 MB / 0.7281 GB, free: 15.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.5808, allocations: 481.2 kB / 0.7286 GB, free: 15.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5808, allocations: 4 kB / 0.7286 GB, free: 15.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01283/0.5937, allocations: 4.167 MB / 0.7326 GB, free: 11.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.5941, allocations: 1.156 MB / 0.7338 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.5941, allocations: 0 / 0.7338 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005373/0.5995, allocations: 1.5 MB / 0.7352 GB, free: 9.266 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/0.6005, allocations: 170.6 kB / 0.7354 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.614, allocations: 5.829 MB / 0.7411 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.6157, allocations: 183.1 kB / 0.7413 GB, free: 3.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.6158, allocations: 39.98 kB / 0.7413 GB, free: 3.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/0.6158, allocations: 0 / 0.7413 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01289/0.6287, allocations: 4.015 MB / 0.7452 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.6288, allocations: 8 kB / 0.7452 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005371/0.6341, allocations: 1.496 MB / 0.7467 GB, free: 13.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/0.6351, allocations: 159.8 kB / 0.7468 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/0.6486, allocations: 5.83 MB / 0.7525 GB, free: 7.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.6503, allocations: 171.2 kB / 0.7527 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.6504, allocations: 35.98 kB / 0.7527 GB, free: 7.625 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 2 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.6508, allocations: 165.1 kB / 0.7529 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.6511, allocations: 126.4 kB / 0.753 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.6637, allocations: 4.119 MB / 0.757 GB, free: 3.184 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.6637, allocations: 11.94 kB / 0.757 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.6637, allocations: 8 kB / 0.7571 GB, free: 3.164 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.6637, allocations: 3.984 kB / 0.7571 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.6786, allocations: 5.61 MB / 0.7625 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.6786, allocations: 0 / 0.7625 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008576/0.6795, allocations: 115.8 kB / 0.7627 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004943/0.6845, allocations: 1.461 MB / 0.7641 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002074/0.6847, allocations: 4 kB / 0.7641 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.6968, allocations: 5.231 MB / 0.7692 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.6968, allocations: 4 kB / 0.7692 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0138/0.7107, allocations: 4.867 MB / 0.7739 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000491/0.7112, allocations: 223.3 kB / 0.7742 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.7114, allocations: 4 kB / 0.7742 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.7126, allocations: 127.9 kB / 0.7743 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.7129, allocations: 112.5 kB / 0.7744 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/0.713, allocations: 23.98 kB / 0.7744 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008365/0.7139, allocations: 0.6136 MB / 0.775 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001679/0.7155, allocations: 0.5929 MB / 0.7756 GB, free: 15.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002808/0.7158, allocations: 139 kB / 0.7757 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008677/0.7245, allocations: 3.359 MB / 0.779 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.622e-05/0.7246, allocations: 0 / 0.779 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003793/0.7284, allocations: 1.366 MB / 0.7803 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.7293, allocations: 96.19 kB / 0.7804 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004875/0.7342, allocations: 1.795 MB / 0.7822 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.7352, allocations: 1.197 MB / 0.7834 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of SimCode: time 2.185e-06/0.7353, allocations: 0 / 0.7834 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of Templates: time 0.04463/0.7799, allocations: 28.79 MB / 0.8115 GB, free: 11.02 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)