Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.00279/0.00279, allocations: 181.4 kB / 7.459 MB, free: 2.496 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.224/1.224, allocations: 221.4 MB / 229.3 MB, free: 3.043 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.0009827/0.0009827, allocations: 100.8 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4737/0.4737, allocations: 78.06 MB / 409 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1393/0.6131, allocations: 75.48 MB / 484.4 MB, free: 4.387 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.9498, allocations: 69.35 MB / 0.5408 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/1.072, allocations: 98.77 MB / 0.6373 GB, free: 5.992 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.072, allocations: 79.95 kB / 0.6373 GB, free: 5.914 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.4623/1.534, allocations: 72.22 MB / 0.7079 GB, free: 95.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.89e-05/1.534, allocations: 8.812 kB / 0.7079 GB, free: 95.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/1.547, allocations: 1.673 MB / 0.7095 GB, free: 94.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006499/1.554, allocations: 1.645 MB / 0.7111 GB, free: 93.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009135/1.555, allocations: 0.6749 MB / 0.7118 GB, free: 92.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/1.556, allocations: 126.9 kB / 0.7119 GB, free: 92.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006668/1.563, allocations: 2.217 MB / 0.714 GB, free: 91.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007889/1.571, allocations: 2.278 MB / 0.7163 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-05/1.571, allocations: 1.125 kB / 0.7163 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006117/1.571, allocations: 0 / 0.7163 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-05/1.571, allocations: 49.59 kB / 0.7163 GB, free: 90.38 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/1.596, allocations: 9.793 MB / 0.7259 GB, free: 81.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004185/1.6, allocations: 2.027 MB / 0.7279 GB, free: 79.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002407/1.603, allocations: 1.45 MB / 0.7293 GB, free: 77.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/1.603, allocations: 49.78 kB / 0.7293 GB, free: 77.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003132/1.606, allocations: 1.682 MB / 0.731 GB, free: 76.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=247): time 8.396e-06/1.606, allocations: 2.203 kB / 0.731 GB, free: 76.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=247): time 0.04075/1.647, allocations: 13.14 MB / 0.7438 GB, free: 62.91 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.647, allocations: 180.2 kB / 0.744 GB, free: 62.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00382/1.651, allocations: 1.708 MB / 0.7456 GB, free: 60.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008351/1.652, allocations: 29.7 kB / 0.7457 GB, free: 60.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/1.653, allocations: 0.7075 MB / 0.7464 GB, free: 60.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.654, allocations: 0.8159 MB / 0.7472 GB, free: 59.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005151/1.655, allocations: 0 / 0.7472 GB, free: 59.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/1.655, allocations: 398.8 kB / 0.7475 GB, free: 59.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002406/1.658, allocations: 1.216 MB / 0.7487 GB, free: 57.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/1.66, allocations: 1.512 MB / 0.7502 GB, free: 56.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002483/1.663, allocations: 1.322 MB / 0.7515 GB, free: 54.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.663, allocations: 4 kB / 0.7515 GB, free: 54.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03851/1.701, allocations: 13.08 MB / 0.7643 GB, free: 41.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.701, allocations: 7.938 kB / 0.7643 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/1.701, allocations: 8 kB / 0.7643 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01666/1.718, allocations: 5.175 MB / 0.7693 GB, free: 36.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002395/1.72, allocations: 423.4 kB / 0.7697 GB, free: 36.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03858/1.759, allocations: 15.56 MB / 0.7849 GB, free: 20.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004511/1.764, allocations: 0.525 MB / 0.7854 GB, free: 19.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007267/1.764, allocations: 87.98 kB / 0.7855 GB, free: 19.81 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.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 (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.766, allocations: 201.2 kB / 0.7857 GB, free: 19.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.767, allocations: 296.3 kB / 0.786 GB, free: 19.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03869/1.805, allocations: 13.41 MB / 0.7991 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.794e-05/1.805, allocations: 28 kB / 0.7991 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.626e-05/1.806, allocations: 16 kB / 0.7991 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/1.806, allocations: 11.95 kB / 0.7992 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04972/1.855, allocations: 16.69 MB / 0.8155 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/1.855, allocations: 3.906 kB / 0.8155 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.857, allocations: 247.6 kB / 0.8157 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0174/1.875, allocations: 5.168 MB / 0.8207 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/1.876, allocations: 19.98 kB / 0.8208 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04597/1.922, allocations: 17.5 MB / 0.8379 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.922, allocations: 0 / 0.8379 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04802/1.97, allocations: 15.42 MB / 0.8529 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05361/2.024, allocations: 17.87 MB / 0.8704 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/2.025, allocations: 404.9 kB / 0.8708 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/2.027, allocations: 12.05 kB / 0.8708 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004498/2.031, allocations: 403.7 kB / 0.8712 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001494/2.033, allocations: 337.4 kB / 0.8715 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005789/2.034, allocations: 67.98 kB / 0.8715 GB, free: 11.16 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002756/2.036, allocations: 1.272 MB / 0.8728 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006737/2.043, allocations: 0.9946 MB / 0.8738 GB, free: 8.891 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/2.044, allocations: 156.1 kB / 0.8739 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01681/2.061, allocations: 5.463 MB / 0.8792 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.061, allocations: 0 / 0.8792 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.2286/2.29, allocations: 4.202 MB / 0.8833 GB, free: 199.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/2.293, allocations: 182.5 kB / 0.8835 GB, free: 199.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/2.307, allocations: 4.019 MB / 0.8874 GB, free: 198.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002646/2.31, allocations: 1.975 MB / 0.8894 GB, free: 197.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/2.31, allocations: 2.969 kB / 0.8894 GB, free: 197.8 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)