Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_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.004418/0.004418, allocations: 182 kB / 7.463 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.301/1.301, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.00103/0.00103, allocations: 86.02 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4788/0.4788, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1686/0.6475, allocations: 75.65 MB / 485.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/1.018, allocations: 69.5 MB / 0.542 GB, free: 21.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/1.154, allocations: 100.7 MB / 0.6403 GB, free: 3.301 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.154, allocations: 75.95 kB / 0.6404 GB, free: 3.227 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.5084/1.663, allocations: 74.5 MB / 0.7131 GB, free: 93.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.81e-05/1.663, allocations: 13.39 kB / 0.7132 GB, free: 93.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/1.674, allocations: 1.675 MB / 0.7148 GB, free: 92.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/1.68, allocations: 1.669 MB / 0.7164 GB, free: 91.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/1.682, allocations: 0.6843 MB / 0.7171 GB, free: 90.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/1.683, allocations: 127.7 kB / 0.7172 GB, free: 90.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006214/1.689, allocations: 2.233 MB / 0.7194 GB, free: 88.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/1.696, allocations: 2.294 MB / 0.7216 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-05/1.697, allocations: 0 / 0.7216 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005552/1.697, allocations: 0 / 0.7216 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.005e-05/1.697, allocations: 59.84 kB / 0.7217 GB, free: 86.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02236/1.72, allocations: 9.893 MB / 0.7314 GB, free: 75.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003639/1.723, allocations: 2.058 MB / 0.7334 GB, free: 73.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002276/1.725, allocations: 1.47 MB / 0.7348 GB, free: 72.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/1.726, allocations: 49.78 kB / 0.7348 GB, free: 72.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002907/1.729, allocations: 1.702 MB / 0.7365 GB, free: 70.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 5.691e-06/1.729, allocations: 4 kB / 0.7365 GB, free: 70.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.0394/1.768, allocations: 13.17 MB / 0.7494 GB, free: 57.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.768, allocations: 184.2 kB / 0.7496 GB, free: 57.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00393/1.772, allocations: 1.741 MB / 0.7513 GB, free: 55.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009676/1.773, allocations: 25.7 kB / 0.7513 GB, free: 55.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006043/1.774, allocations: 0.7153 MB / 0.752 GB, free: 54.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001925/1.776, allocations: 0.8351 MB / 0.7528 GB, free: 53.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005833/1.776, allocations: 0 / 0.7528 GB, free: 53.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002048/1.777, allocations: 395 kB / 0.7532 GB, free: 53.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/1.779, allocations: 1.239 MB / 0.7544 GB, free: 52.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/1.781, allocations: 1.523 MB / 0.7559 GB, free: 50.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/1.783, allocations: 1.358 MB / 0.7572 GB, free: 49.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.783, allocations: 0 / 0.7572 GB, free: 49.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03935/1.823, allocations: 13.19 MB / 0.7701 GB, free: 36.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/1.823, allocations: 7.984 kB / 0.7701 GB, free: 36.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.293e-05/1.823, allocations: 8 kB / 0.7701 GB, free: 36.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01822/1.841, allocations: 5.291 MB / 0.7753 GB, free: 30.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/1.844, allocations: 415.4 kB / 0.7757 GB, free: 30.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04213/1.886, allocations: 16.82 MB / 0.7921 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005452/1.892, allocations: 0.525 MB / 0.7926 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009025/1.892, allocations: 91.92 kB / 0.7927 GB, free: 12.68 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 Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-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 (229): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001861/1.894, allocations: 205 kB / 0.7929 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/1.896, allocations: 300.2 kB / 0.7932 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04209/1.938, allocations: 13.45 MB / 0.8063 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/1.938, allocations: 24 kB / 0.8063 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/1.938, allocations: 20 kB / 0.8063 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.359e-05/1.938, allocations: 19.86 kB / 0.8064 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05593/1.994, allocations: 16.77 MB / 0.8227 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/1.994, allocations: 0 / 0.8227 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/1.997, allocations: 255.6 kB / 0.823 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01804/2.015, allocations: 5.157 MB / 0.828 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008116/2.015, allocations: 23.98 kB / 0.828 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04649/2.062, allocations: 17.52 MB / 0.8451 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/2.062, allocations: 4 kB / 0.8451 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05044/2.112, allocations: 15.49 MB / 0.8603 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05335/2.166, allocations: 17.98 MB / 0.8778 GB, free: 4.809 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/2.167, allocations: 416.8 kB / 0.8782 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/2.169, allocations: 11.89 kB / 0.8782 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004781/2.174, allocations: 403.7 kB / 0.8786 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/2.175, allocations: 341.4 kB / 0.879 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007073/2.176, allocations: 67.98 kB / 0.879 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002411/2.178, allocations: 1.3 MB / 0.8803 GB, free: 2.266 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004534/2.183, allocations: 1.01 MB / 0.8813 GB, free: 1.254 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,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 (159): * Single equations (assignments): 154 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005116/2.183, allocations: 162.3 kB / 0.8814 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01648/2.2, allocations: 5.658 MB / 0.887 GB, free: 11.36 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/2.2, allocations: 0.625 kB / 0.887 GB, free: 11.36 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/2.214, allocations: 4.211 MB / 0.8911 GB, free: 7.102 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/2.216, allocations: 190.2 kB / 0.8912 GB, free: 6.918 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/2.229, allocations: 4.271 MB / 0.8954 GB, free: 2.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/2.232, allocations: 2.022 MB / 0.8974 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of SimCode: time 3.547e-06/2.232, allocations: 0 / 0.8974 GB, free: 0.5312 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)