Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.00236/0.00236, allocations: 182 kB / 7.452 MB, free: 2.52 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.111/1.111, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0009197/0.0009197, allocations: 92.94 kB / 261.1 MB, free: 13.59 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.06246/0.06246, allocations: 12.6 MB / 321.6 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2819/0.2819, allocations: 78.04 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.922e-06/5.951e-06, allocations: 0 / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 69.32 MB / 0.5818 GB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4581, allocations: 99.69 MB / 0.6792 GB, free: 8.727 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.4583, allocations: 75.33 kB / 0.6792 GB, free: 8.688 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.09585/0.5542, allocations: 34.73 MB / 0.7132 GB, free: 12.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.5543, allocations: 31.94 kB / 0.7132 GB, free: 12.14 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005171/0.5595, allocations: 1.749 MB / 0.7149 GB, free: 10.44 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.5595, allocations: 15.97 kB / 0.7149 GB, free: 10.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.5635, allocations: 0.5756 MB / 0.7155 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.5653, allocations: 0.7874 MB / 0.7163 GB, free: 9.219 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.5657, allocations: 243.6 kB / 0.7165 GB, free: 8.949 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.5659, allocations: 51.89 kB / 0.7165 GB, free: 8.898 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001761/0.5677, allocations: 0.8086 MB / 0.7173 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.5693, allocations: 0.8256 MB / 0.7181 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.5694, allocations: 0 / 0.7181 GB, free: 7.828 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.175e-05/0.5695, allocations: 3.938 kB / 0.7181 GB, free: 7.824 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.5695, allocations: 16 kB / 0.7182 GB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007973/0.5775, allocations: 3.731 MB / 0.7218 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.5787, allocations: 0.6082 MB / 0.7224 GB, free: 4.441 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008462/0.5796, allocations: 0.5114 MB / 0.7229 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.5798, allocations: 19.89 kB / 0.7229 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.5812, allocations: 0.6329 MB / 0.7235 GB, free: 3.715 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 4.308e-06/0.5812, allocations: 0 / 0.7235 GB, free: 3.715 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.0193/0.6005, allocations: 4.177 MB / 0.7276 GB, free: 52 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.6007, allocations: 119.5 kB / 0.7277 GB, free: 15.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.6025, allocations: 0.8058 MB / 0.7285 GB, free: 15.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002639/0.6028, allocations: 25.7 kB / 0.7285 GB, free: 15.28 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.6031, allocations: 326.2 kB / 0.7288 GB, free: 15.01 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00056/0.6037, allocations: 328 kB / 0.7292 GB, free: 14.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.6038, allocations: 0 / 0.7292 GB, free: 14.72 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.604, allocations: 349 kB / 0.7295 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/0.6049, allocations: 443.4 kB / 0.7299 GB, free: 14.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008027/0.6057, allocations: 0.5616 MB / 0.7305 GB, free: 13.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/0.6065, allocations: 495.8 kB / 0.7309 GB, free: 13.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.6065, allocations: 7.984 kB / 0.7309 GB, free: 13.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01336/0.6199, allocations: 4.193 MB / 0.735 GB, free: 9.809 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.62, allocations: 4 kB / 0.735 GB, free: 9.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.62, allocations: 4 kB / 0.735 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006166/0.6262, allocations: 1.569 MB / 0.7366 GB, free: 8.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.6274, allocations: 186.3 kB / 0.7368 GB, free: 8.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.6414, allocations: 6.021 MB / 0.7426 GB, free: 2.168 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.6431, allocations: 191.2 kB / 0.7428 GB, free: 1.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.6432, allocations: 39.89 kB / 0.7429 GB, free: 1.941 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.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 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 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 (96): * Single equations (assignments): 93 * 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.0002916/0.6435, allocations: 155.4 kB / 0.743 GB, free: 1.777 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.6437, allocations: 122.5 kB / 0.7431 GB, free: 1.656 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/0.6568, allocations: 4.272 MB / 0.7473 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.6569, allocations: 15.91 kB / 0.7473 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.6569, allocations: 4 kB / 0.7473 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/0.6569, allocations: 3.984 kB / 0.7473 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.672, allocations: 5.655 MB / 0.7528 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.672, allocations: 0 / 0.7528 GB, free: 7.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000679/0.6727, allocations: 103.9 kB / 0.7529 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005097/0.6778, allocations: 1.528 MB / 0.7544 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.678, allocations: 15.98 kB / 0.7544 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.6923, allocations: 7.148 MB / 0.7614 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.6923, allocations: 4 kB / 0.7614 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01444/0.7067, allocations: 5.015 MB / 0.7663 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.7072, allocations: 227.2 kB / 0.7665 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.7075, allocations: 4.188 kB / 0.7665 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.7088, allocations: 139.9 kB / 0.7667 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.7091, allocations: 116.7 kB / 0.7668 GB, free: 9.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-05/0.7092, allocations: 35.97 kB / 0.7668 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008697/0.7101, allocations: 0.6058 MB / 0.7674 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001236/0.7113, allocations: 395.4 kB / 0.7678 GB, free: 7.969 MB / 0.4948 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,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 (64): * Single equations (assignments): 61 * 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.0002742/0.7116, allocations: 138.9 kB / 0.7679 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004933/0.7165, allocations: 1.942 MB / 0.7698 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.7165, allocations: 0 / 0.7698 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003857/0.7204, allocations: 1.474 MB / 0.7713 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.7212, allocations: 89.03 kB / 0.7713 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/0.7256, allocations: 1.716 MB / 0.773 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009571/0.7266, allocations: 1.198 MB / 0.7742 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of SimCode: time 5.61e-07/0.7266, allocations: 0 / 0.7742 GB, free: 1.277 MB / 0.4948 GB Notification: Performance of Templates: time 0.03119/0.7578, allocations: 19.33 MB / 0.7931 GB, free: 13.93 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)