Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") [: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.003057/0.003057, allocations: 182.8 kB / 7.455 MB, free: 2.512 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.92 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.0008744/0.0008746, allocations: 88.19 kB / 261.1 MB, free: 13.54 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.06668/0.06668, allocations: 12.59 MB / 321.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.329/0.329, allocations: 78.04 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.322e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 69.31 MB / 0.5818 GB, free: 8.762 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2899/0.396, allocations: 99.39 MB / 0.6789 GB, free: 8.789 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001786/0.3962, allocations: 82.89 kB / 0.679 GB, free: 8.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.07779/0.474, allocations: 29.76 MB / 0.708 GB, free: 388 kB / 442.7 MB Notification: Performance of Transformations before backend: time 7.283e-05/0.4741, allocations: 24 kB / 0.7081 GB, free: 364 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007093/0.4812, allocations: 1.745 MB / 0.7098 GB, free: 14.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.4813, allocations: 11.97 kB / 0.7098 GB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006637/0.4879, allocations: 0.5837 MB / 0.7103 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.4901, allocations: 0.7617 MB / 0.7111 GB, free: 13.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/0.4906, allocations: 244.1 kB / 0.7113 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.4909, allocations: 47.91 kB / 0.7114 GB, free: 13.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002749/0.4936, allocations: 0.7979 MB / 0.7121 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.4963, allocations: 0.8332 MB / 0.713 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.4963, allocations: 4 kB / 0.713 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.4965, allocations: 0 / 0.713 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.4965, allocations: 16 kB / 0.713 GB, free: 12.06 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009708/0.5063, allocations: 3.737 MB / 0.7166 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.5074, allocations: 0.6046 MB / 0.7172 GB, free: 8.695 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000753/0.5082, allocations: 0.5061 MB / 0.7177 GB, free: 8.418 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.5083, allocations: 23.75 kB / 0.7177 GB, free: 8.398 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000947/0.5093, allocations: 0.6224 MB / 0.7183 GB, free: 7.977 MB / 458.7 MB Notification: Performance of pre-optimization done (n=95): time 2.164e-06/0.5093, allocations: 4 kB / 0.7183 GB, free: 7.973 MB / 458.7 MB Notification: Performance of matching and sorting (n=95): time 0.01343/0.5227, allocations: 4.178 MB / 0.7224 GB, free: 4.301 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.5228, allocations: 115.6 kB / 0.7225 GB, free: 4.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.5243, allocations: 0.8167 MB / 0.7233 GB, free: 3.559 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/0.5245, allocations: 25.7 kB / 0.7234 GB, free: 3.527 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.5247, allocations: 328.1 kB / 0.7237 GB, free: 3.254 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004758/0.5252, allocations: 324.1 kB / 0.724 GB, free: 2.973 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.5253, allocations: 0 / 0.724 GB, free: 2.973 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5254, allocations: 345.4 kB / 0.7243 GB, free: 2.645 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/0.5262, allocations: 439.8 kB / 0.7247 GB, free: 2.414 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008779/0.5271, allocations: 0.5581 MB / 0.7253 GB, free: 2.035 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008499/0.5279, allocations: 487 kB / 0.7257 GB, free: 1.766 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.528, allocations: 0 / 0.7257 GB, free: 1.766 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01331/0.5413, allocations: 4.197 MB / 0.7298 GB, free: 14.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5413, allocations: 4 kB / 0.7298 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.5413, allocations: 11.94 kB / 0.7298 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006052/0.5474, allocations: 1.569 MB / 0.7314 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.5486, allocations: 179.5 kB / 0.7316 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/0.5631, allocations: 6.052 MB / 0.7375 GB, free: 7.488 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.5649, allocations: 187.1 kB / 0.7376 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.5651, allocations: 39.98 kB / 0.7377 GB, free: 7.266 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003772/0.5654, allocations: 159.9 kB / 0.7378 GB, free: 7.098 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.5658, allocations: 122.5 kB / 0.7379 GB, free: 6.977 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/0.5803, allocations: 4.268 MB / 0.7421 GB, free: 2.688 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.5804, allocations: 8 kB / 0.7421 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/0.5804, allocations: 11.91 kB / 0.7421 GB, free: 2.668 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.5804, allocations: 3.984 kB / 0.7421 GB, free: 2.664 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02203/0.6025, allocations: 5.67 MB / 0.7477 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.6025, allocations: 4 kB / 0.7477 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/0.6034, allocations: 103.8 kB / 0.7478 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00766/0.6111, allocations: 1.547 MB / 0.7493 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.6113, allocations: 12 kB / 0.7493 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/0.6316, allocations: 7.09 MB / 0.7562 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6316, allocations: 64 / 0.7562 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01649/0.6481, allocations: 5.023 MB / 0.7611 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.6486, allocations: 223.3 kB / 0.7613 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.6488, allocations: 3.984 kB / 0.7613 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6501, allocations: 135.9 kB / 0.7615 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.6504, allocations: 112.8 kB / 0.7616 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/0.6505, allocations: 31.98 kB / 0.7616 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0009098/0.6514, allocations: 0.6216 MB / 0.7622 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001308/0.6528, allocations: 391.4 kB / 0.7626 GB, free: 13.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002779/0.653, allocations: 138.9 kB / 0.7627 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004766/0.6578, allocations: 1.93 MB / 0.7646 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6578, allocations: 0.75 kB / 0.7646 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003824/0.6617, allocations: 1.498 MB / 0.7661 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006003/0.6623, allocations: 82.31 kB / 0.7662 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.6661, allocations: 1.665 MB / 0.7678 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008951/0.667, allocations: 1.193 MB / 0.7689 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.667, allocations: 0 / 0.7689 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of Templates: time 0.02871/0.6957, allocations: 19.28 MB / 0.7878 GB, free: 3.406 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)