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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [: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.002458/0.002458, allocations: 178.2 kB / 7.455 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.277/1.277, allocations: 221.4 MB / 229.3 MB, free: 3.23 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.001091/0.001091, allocations: 95.02 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4499/0.4499, allocations: 78.05 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1467/0.5966, allocations: 75.49 MB / 484.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.9215, allocations: 69.34 MB / 0.5408 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1291/1.051, allocations: 99.92 MB / 0.6384 GB, free: 4.766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/1.051, allocations: 75.95 kB / 0.6384 GB, free: 4.691 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.4283/1.479, allocations: 73.21 MB / 0.7099 GB, free: 94.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.479, allocations: 8.281 kB / 0.7099 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/1.491, allocations: 1.677 MB / 0.7116 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/1.495, allocations: 1.667 MB / 0.7132 GB, free: 92.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007353/1.496, allocations: 0.682 MB / 0.7139 GB, free: 91.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000937/1.497, allocations: 123.6 kB / 0.714 GB, free: 91.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005945/1.503, allocations: 2.236 MB / 0.7162 GB, free: 90.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005339/1.509, allocations: 2.286 MB / 0.7184 GB, free: 89.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.612e-05/1.509, allocations: 0 / 0.7184 GB, free: 89.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/1.509, allocations: 0 / 0.7184 GB, free: 89.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/1.509, allocations: 48 kB / 0.7185 GB, free: 89.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/1.526, allocations: 9.86 MB / 0.7281 GB, free: 79.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/1.529, allocations: 2.042 MB / 0.7301 GB, free: 76.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/1.531, allocations: 1.465 MB / 0.7315 GB, free: 75.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002575/1.531, allocations: 37.64 kB / 0.7315 GB, free: 75.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002376/1.534, allocations: 1.702 MB / 0.7332 GB, free: 73.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 3.827e-06/1.534, allocations: 4 kB / 0.7332 GB, free: 73.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03783/1.572, allocations: 13.15 MB / 0.7461 GB, free: 60.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/1.572, allocations: 188.2 kB / 0.7462 GB, free: 60.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/1.575, allocations: 1.725 MB / 0.7479 GB, free: 58.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005652/1.575, allocations: 25.7 kB / 0.7479 GB, free: 58.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/1.575, allocations: 0.7114 MB / 0.7486 GB, free: 57.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.577, allocations: 0.8311 MB / 0.7495 GB, free: 57.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/1.577, allocations: 4 kB / 0.7495 GB, free: 57.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/1.577, allocations: 395 kB / 0.7498 GB, free: 56.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/1.579, allocations: 1.228 MB / 0.751 GB, free: 55.43 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/1.582, allocations: 1.519 MB / 0.7525 GB, free: 53.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/1.584, allocations: 1.348 MB / 0.7538 GB, free: 52.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/1.584, allocations: 3.938 kB / 0.7538 GB, free: 52.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03795/1.622, allocations: 13.11 MB / 0.7666 GB, free: 39.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/1.622, allocations: 10.34 kB / 0.7667 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/1.622, allocations: 7.906 kB / 0.7667 GB, free: 39.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01692/1.639, allocations: 5.216 MB / 0.7718 GB, free: 34.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/1.642, allocations: 435.4 kB / 0.7722 GB, free: 33.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04012/1.682, allocations: 15.47 MB / 0.7873 GB, free: 18.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.686, allocations: 0.5173 MB / 0.7878 GB, free: 17.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/1.687, allocations: 95.95 kB / 0.7879 GB, free: 17.43 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.0006225/1.687, allocations: 209.4 kB / 0.7881 GB, free: 17.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/1.688, allocations: 292.3 kB / 0.7884 GB, free: 16.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03847/1.727, allocations: 13.43 MB / 0.8015 GB, free: 3.441 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.724e-05/1.727, allocations: 24 kB / 0.8015 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-05/1.727, allocations: 20 kB / 0.8015 GB, free: 3.398 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.082e-05/1.727, allocations: 11.95 kB / 0.8015 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05977/1.787, allocations: 16.76 MB / 0.8179 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/1.787, allocations: 0 / 0.8179 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0027/1.789, allocations: 243.7 kB / 0.8181 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02486/1.814, allocations: 5.196 MB / 0.8232 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001063/1.815, allocations: 23.97 kB / 0.8232 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05471/1.87, allocations: 17.46 MB / 0.8403 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/1.87, allocations: 4 kB / 0.8403 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05045/1.921, allocations: 15.47 MB / 0.8554 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05205/1.973, allocations: 17.94 MB / 0.8729 GB, free: 9.691 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.974, allocations: 408.8 kB / 0.8733 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009528/1.975, allocations: 8 kB / 0.8733 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003788/1.979, allocations: 403.7 kB / 0.8737 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/1.98, allocations: 345.3 kB / 0.874 GB, free: 8.527 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.98, allocations: 67.92 kB / 0.8741 GB, free: 8.461 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001918/1.982, allocations: 1.292 MB / 0.8753 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004523/1.987, allocations: 1.01 MB / 0.8763 GB, free: 6.152 MB / 0.5573 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.0005762/1.987, allocations: 147.9 kB / 0.8765 GB, free: 6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01566/2.003, allocations: 5.517 MB / 0.8819 GB, free: 424 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/2.003, allocations: 5.75 kB / 0.8819 GB, free: 420 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2004/2.203, allocations: 4.223 MB / 0.886 GB, free: 200.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/2.206, allocations: 184.7 kB / 0.8862 GB, free: 200.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/2.217, allocations: 4.194 MB / 0.8903 GB, free: 199 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001936/2.219, allocations: 2.01 MB / 0.8922 GB, free: 198.2 MB / 0.5573 GB Notification: Performance of SimCode: time 9.01e-07/2.219, allocations: 3.094 kB / 0.8922 GB, free: 198.2 MB / 0.5573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)