Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.002605/0.002605, allocations: 183.1 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.142/1.142, 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.0008232/0.0008232, allocations: 96.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.06978/0.06978, allocations: 12.59 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2719/0.2719, allocations: 78.05 MB / 450.4 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.48e-06/5.511e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 69.31 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3163/0.4271, allocations: 100.1 MB / 0.6795 GB, free: 8.348 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.4274, allocations: 85 kB / 0.6796 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.08425/0.5116, allocations: 30.63 MB / 0.7095 GB, free: 15.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.967e-05/0.5118, allocations: 28 kB / 0.7096 GB, free: 15.09 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004781/0.5165, allocations: 1.784 MB / 0.7113 GB, free: 13.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.5166, allocations: 11.97 kB / 0.7113 GB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003698/0.5203, allocations: 0.583 MB / 0.7119 GB, free: 12.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.5218, allocations: 0.798 MB / 0.7127 GB, free: 12.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.5221, allocations: 232.2 kB / 0.7129 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.5223, allocations: 59.59 kB / 0.7129 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001541/0.5239, allocations: 0.8033 MB / 0.7137 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.5254, allocations: 0.8498 MB / 0.7146 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.5254, allocations: 0 / 0.7146 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/0.5255, allocations: 3.938 kB / 0.7146 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.5255, allocations: 16 kB / 0.7146 GB, free: 10.72 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007232/0.5328, allocations: 3.798 MB / 0.7183 GB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.534, allocations: 0.6249 MB / 0.7189 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.5348, allocations: 0.5129 MB / 0.7194 GB, free: 7.027 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.535, allocations: 20.75 kB / 0.7194 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.536, allocations: 0.6448 MB / 0.72 GB, free: 6.566 MB / 458.7 MB Notification: Performance of pre-optimization done (n=97): time 3.817e-06/0.536, allocations: 0 / 0.72 GB, free: 6.566 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01375/0.5498, allocations: 4.195 MB / 0.7241 GB, free: 2.883 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.5499, allocations: 111.6 kB / 0.7242 GB, free: 2.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.5516, allocations: 0.8518 MB / 0.7251 GB, free: 2.129 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.5519, allocations: 25.7 kB / 0.7251 GB, free: 2.098 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.5521, allocations: 323.4 kB / 0.7254 GB, free: 1.828 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005902/0.5527, allocations: 339.2 kB / 0.7257 GB, free: 1.531 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.5529, allocations: 4.031 kB / 0.7257 GB, free: 1.527 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.553, allocations: 344.8 kB / 0.7261 GB, free: 1.203 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000867/0.5539, allocations: 451.8 kB / 0.7265 GB, free: 0.9648 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009588/0.5549, allocations: 0.5789 MB / 0.7271 GB, free: 0.5742 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000905/0.5558, allocations: 0.4897 MB / 0.7275 GB, free: 300 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5558, allocations: 3.938 kB / 0.7275 GB, free: 296 kB / 458.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01351/0.5693, allocations: 4.221 MB / 0.7317 GB, free: 12.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.5694, allocations: 4 kB / 0.7317 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.5694, allocations: 4 kB / 0.7317 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005974/0.5754, allocations: 1.574 MB / 0.7332 GB, free: 11.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.5768, allocations: 202.4 kB / 0.7334 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.5913, allocations: 5.962 MB / 0.7392 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.5933, allocations: 191.1 kB / 0.7394 GB, free: 5.527 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.5935, allocations: 43.98 kB / 0.7394 GB, free: 5.484 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003873/0.5939, allocations: 159.5 kB / 0.7396 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.5941, allocations: 126.5 kB / 0.7397 GB, free: 5.191 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.6073, allocations: 4.3 MB / 0.7439 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.6073, allocations: 8 kB / 0.7439 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.041e-05/0.6074, allocations: 8 kB / 0.7439 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/0.6074, allocations: 7.969 kB / 0.7439 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.6226, allocations: 5.715 MB / 0.7495 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.6226, allocations: 4 kB / 0.7495 GB, free: 11.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.6234, allocations: 103.8 kB / 0.7496 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005052/0.6285, allocations: 1.528 MB / 0.7511 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.6286, allocations: 4 kB / 0.7511 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/0.6426, allocations: 7.152 MB / 0.7581 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.6426, allocations: 4.062 kB / 0.7581 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01433/0.6569, allocations: 5.058 MB / 0.7631 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006008/0.6576, allocations: 227.3 kB / 0.7633 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.6579, allocations: 8 kB / 0.7633 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.6593, allocations: 139.8 kB / 0.7634 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.6596, allocations: 120.7 kB / 0.7635 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-05/0.6597, allocations: 31.98 kB / 0.7636 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0009333/0.6607, allocations: 0.6376 MB / 0.7642 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001321/0.662, allocations: 403.4 kB / 0.7646 GB, free: 11.33 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002912/0.6623, allocations: 139.1 kB / 0.7647 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005294/0.6676, allocations: 1.975 MB / 0.7666 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6676, allocations: 0 / 0.7666 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004016/0.6717, allocations: 1.501 MB / 0.7681 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.6726, allocations: 92.39 kB / 0.7682 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.6772, allocations: 1.814 MB / 0.7699 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009673/0.6782, allocations: 1.21 MB / 0.7711 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.6782, allocations: 0 / 0.7711 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of Templates: time 0.03161/0.7098, allocations: 19.71 MB / 0.7904 GB, free: 0.7617 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)