Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.002293/0.002293, allocations: 180.2 kB / 7.454 MB, free: 2.512 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.206/1.206, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.0009487/0.0009488, allocations: 93.73 kB / 280.1 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3986/0.3986, allocations: 78.06 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.193e-06/7.233e-06, allocations: 4 kB / 484.3 MB, free: 4.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 69.34 MB / 0.5407 GB, free: 20.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.3464, allocations: 99.91 MB / 0.6383 GB, free: 3.906 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.3466, allocations: 75.95 kB / 0.6384 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.3591/0.7057, allocations: 68.93 MB / 0.7057 GB, free: 96.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002324/0.706, allocations: 60.06 kB / 0.7057 GB, free: 96.17 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.01382/0.7198, allocations: 4.218 MB / 0.7098 GB, free: 93.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.7199, allocations: 9.938 kB / 0.7099 GB, free: 93.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.7309, allocations: 1.678 MB / 0.7115 GB, free: 92.79 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.7345, allocations: 1.661 MB / 0.7131 GB, free: 91.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006216/0.7352, allocations: 0.6818 MB / 0.7138 GB, free: 90.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005241/0.7357, allocations: 128.8 kB / 0.7139 GB, free: 90.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004659/0.7404, allocations: 2.227 MB / 0.7161 GB, free: 89.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004176/0.7445, allocations: 2.294 MB / 0.7183 GB, free: 87.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-05/0.7446, allocations: 0 / 0.7183 GB, free: 87.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.7449, allocations: 0 / 0.7183 GB, free: 87.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.7449, allocations: 48 kB / 0.7184 GB, free: 87.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.7618, allocations: 9.861 MB / 0.728 GB, free: 77.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.7651, allocations: 2.042 MB / 0.73 GB, free: 75.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.7671, allocations: 1.462 MB / 0.7314 GB, free: 73.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.7674, allocations: 45.8 kB / 0.7315 GB, free: 73.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/0.77, allocations: 1.702 MB / 0.7331 GB, free: 72.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 4.308e-06/0.77, allocations: 0 / 0.7331 GB, free: 72.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03983/0.8099, allocations: 13.16 MB / 0.746 GB, free: 59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.8099, allocations: 184.2 kB / 0.7461 GB, free: 58.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/0.8122, allocations: 1.729 MB / 0.7478 GB, free: 57.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/0.8124, allocations: 25.7 kB / 0.7479 GB, free: 57.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.8128, allocations: 0.7114 MB / 0.7486 GB, free: 56.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.8139, allocations: 0.8273 MB / 0.7494 GB, free: 55.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.8141, allocations: 4 kB / 0.7494 GB, free: 55.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.8142, allocations: 395.1 kB / 0.7497 GB, free: 55.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00213/0.8163, allocations: 1.227 MB / 0.7509 GB, free: 53.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.8186, allocations: 1.523 MB / 0.7524 GB, free: 52.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.8208, allocations: 1.344 MB / 0.7537 GB, free: 50.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.8208, allocations: 0 / 0.7537 GB, free: 50.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03936/0.8602, allocations: 13.12 MB / 0.7666 GB, free: 37.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.8602, allocations: 4 kB / 0.7666 GB, free: 37.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.8602, allocations: 7.906 kB / 0.7666 GB, free: 37.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01726/0.8775, allocations: 5.212 MB / 0.7717 GB, free: 32.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.8801, allocations: 431.4 kB / 0.7721 GB, free: 32.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03891/0.919, allocations: 15.47 MB / 0.7872 GB, free: 16.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/0.9231, allocations: 0.5212 MB / 0.7877 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.9234, allocations: 91.97 kB / 0.7878 GB, free: 15.83 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.0006707/0.9241, allocations: 220.8 kB / 0.788 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004839/0.9246, allocations: 292.3 kB / 0.7883 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03992/0.9645, allocations: 13.43 MB / 0.8014 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/0.9646, allocations: 24 kB / 0.8014 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.9646, allocations: 20 kB / 0.8014 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/0.9646, allocations: 15.89 kB / 0.8014 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04808/1.013, allocations: 16.75 MB / 0.8178 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.013, allocations: 0 / 0.8178 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.015, allocations: 251.6 kB / 0.818 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0176/1.032, allocations: 5.196 MB / 0.8231 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000321/1.032, allocations: 15.98 kB / 0.8231 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04277/1.075, allocations: 17.47 MB / 0.8402 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.075, allocations: 0 / 0.8402 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04904/1.124, allocations: 15.47 MB / 0.8553 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.126, allocations: 416.7 kB / 0.8557 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006454/1.126, allocations: 15.98 kB / 0.8557 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/1.13, allocations: 403.7 kB / 0.8561 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/1.131, allocations: 337.4 kB / 0.8564 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/1.131, allocations: 63.98 kB / 0.8565 GB, free: 8.895 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001947/1.133, allocations: 1.296 MB / 0.8577 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002814/1.136, allocations: 0.9907 MB / 0.8587 GB, free: 6.602 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.000427/1.136, allocations: 161.2 kB / 0.8588 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01589/1.152, allocations: 5.511 MB / 0.8642 GB, free: 0.8555 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.152, allocations: 8.062 kB / 0.8642 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/1.165, allocations: 4.228 MB / 0.8684 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.167, allocations: 186.3 kB / 0.8685 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.178, allocations: 4.174 MB / 0.8726 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002057/1.18, allocations: 1.95 MB / 0.8745 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of SimCode: time 4.01e-07/1.18, allocations: 4 kB / 0.8745 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of Templates: time 0.2137/1.393, allocations: 51.11 MB / 0.9244 GB, free: 210.5 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)