Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 180.2 kB / 7.458 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.022/1.022, allocations: 221.4 MB / 229.3 MB, free: 3.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008234, allocations: 97.41 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3442/0.3442, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.37e-06, allocations: 0 / 484.4 MB, free: 4.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2093, allocations: 69.35 MB / 0.5408 GB, free: 21.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3244, allocations: 99.9 MB / 0.6383 GB, free: 5.078 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.3247, allocations: 75.95 kB / 0.6384 GB, free: 5.004 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.314/0.6387, allocations: 68.93 MB / 0.7057 GB, free: 97.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001937/0.6389, allocations: 59.22 kB / 0.7058 GB, free: 97.27 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01186/0.6508, allocations: 4.21 MB / 0.7099 GB, free: 94.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.6508, allocations: 8.875 kB / 0.7099 GB, free: 94.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009797/0.6606, allocations: 1.678 MB / 0.7115 GB, free: 93.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.6635, allocations: 1.673 MB / 0.7131 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005587/0.6641, allocations: 0.6829 MB / 0.7138 GB, free: 92.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004675/0.6646, allocations: 128.1 kB / 0.7139 GB, free: 92.08 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00401/0.6686, allocations: 2.225 MB / 0.7161 GB, free: 91.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.6725, allocations: 2.292 MB / 0.7183 GB, free: 89.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.6725, allocations: 3.938 kB / 0.7184 GB, free: 89.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.6728, allocations: 0 / 0.7184 GB, free: 89.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.6728, allocations: 55.98 kB / 0.7184 GB, free: 89.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.6873, allocations: 9.846 MB / 0.728 GB, free: 79.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/0.6902, allocations: 2.045 MB / 0.73 GB, free: 77.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.692, allocations: 1.458 MB / 0.7314 GB, free: 75.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/0.6923, allocations: 45.64 kB / 0.7315 GB, free: 75.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.6945, allocations: 1.698 MB / 0.7331 GB, free: 74.19 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 3.216e-06/0.6945, allocations: 0 / 0.7331 GB, free: 74.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03525/0.7298, allocations: 13.16 MB / 0.746 GB, free: 61.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7298, allocations: 184.2 kB / 0.7462 GB, free: 60.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.732, allocations: 1.732 MB / 0.7479 GB, free: 59.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003189/0.7323, allocations: 25.7 kB / 0.7479 GB, free: 59.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.7326, allocations: 0.7154 MB / 0.7486 GB, free: 58.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.7336, allocations: 0.8274 MB / 0.7494 GB, free: 57.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.7338, allocations: 0 / 0.7494 GB, free: 57.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.7339, allocations: 395 kB / 0.7498 GB, free: 57.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.7358, allocations: 1.224 MB / 0.751 GB, free: 55.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.7377, allocations: 1.527 MB / 0.7525 GB, free: 54.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001946/0.7396, allocations: 1.348 MB / 0.7538 GB, free: 52.87 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/0.7397, allocations: 4 kB / 0.7538 GB, free: 52.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03498/0.7746, allocations: 13.11 MB / 0.7666 GB, free: 39.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7747, allocations: 4 kB / 0.7666 GB, free: 39.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.7747, allocations: 11.91 kB / 0.7666 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01533/0.7901, allocations: 5.208 MB / 0.7717 GB, free: 34.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/0.7926, allocations: 435.4 kB / 0.7721 GB, free: 34.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03457/0.8272, allocations: 15.48 MB / 0.7872 GB, free: 18.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0041/0.8313, allocations: 0.5173 MB / 0.7877 GB, free: 17.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005051/0.8318, allocations: 91.97 kB / 0.7878 GB, free: 17.87 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007652/0.8326, allocations: 213.4 kB / 0.788 GB, free: 17.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007243/0.8333, allocations: 296.3 kB / 0.7883 GB, free: 17.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03531/0.8687, allocations: 13.42 MB / 0.8014 GB, free: 3.871 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/0.8687, allocations: 24 kB / 0.8014 GB, free: 3.848 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/0.8687, allocations: 24 kB / 0.8014 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.8687, allocations: 15.95 kB / 0.8015 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04149/0.9102, allocations: 16.75 MB / 0.8178 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.9103, allocations: 0 / 0.8178 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.9117, allocations: 247.6 kB / 0.8181 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01486/0.9265, allocations: 5.196 MB / 0.8231 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002507/0.9268, allocations: 23.98 kB / 0.8232 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0357/0.9625, allocations: 17.46 MB / 0.8402 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9625, allocations: 7.938 kB / 0.8402 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04022/1.003, allocations: 15.46 MB / 0.8553 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007361/1.003, allocations: 412.7 kB / 0.8557 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005757/1.004, allocations: 11.98 kB / 0.8557 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003034/1.007, allocations: 403.7 kB / 0.8561 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009074/1.008, allocations: 337.4 kB / 0.8564 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002606/1.008, allocations: 71.98 kB / 0.8565 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001602/1.01, allocations: 1.296 MB / 0.8578 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002341/1.012, allocations: 0.9946 MB / 0.8587 GB, free: 8.633 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003735/1.013, allocations: 156.4 kB / 0.8589 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.026, allocations: 5.513 MB / 0.8643 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.026, allocations: 0 / 0.8643 GB, free: 2.887 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01092/1.037, allocations: 4.233 MB / 0.8684 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/1.038, allocations: 190.2 kB / 0.8686 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009199/1.047, allocations: 4.174 MB / 0.8727 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.049, allocations: 1.954 MB / 0.8746 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/1.049, allocations: 0 / 0.8746 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of Templates: time 0.1889/1.238, allocations: 51.12 MB / 0.9245 GB, free: 196.7 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)