Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_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.004125/0.004125, allocations: 183.2 kB / 7.459 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.252/1.252, allocations: 221.4 MB / 229.3 MB, free: 3.105 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.0009218/0.0009218, allocations: 96.05 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4521/0.4521, allocations: 78.05 MB / 408.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1507/0.6028, allocations: 75.49 MB / 484.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.935, allocations: 69.35 MB / 0.5408 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/1.063, allocations: 100.1 MB / 0.6386 GB, free: 4.621 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.063, allocations: 75.95 kB / 0.6387 GB, free: 4.547 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.4356/1.499, allocations: 73.67 MB / 0.7106 GB, free: 94.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.499, allocations: 11.62 kB / 0.7106 GB, free: 94.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/1.511, allocations: 1.672 MB / 0.7123 GB, free: 93.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007131/1.518, allocations: 1.677 MB / 0.7139 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008334/1.519, allocations: 0.6799 MB / 0.7146 GB, free: 91.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009661/1.52, allocations: 126.6 kB / 0.7147 GB, free: 91.62 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006484/1.526, allocations: 2.237 MB / 0.7169 GB, free: 90.61 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007293/1.533, allocations: 2.297 MB / 0.7191 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.875e-05/1.534, allocations: 4 kB / 0.7191 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005692/1.534, allocations: 0 / 0.7191 GB, free: 88.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/1.534, allocations: 51.91 kB / 0.7192 GB, free: 88.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/1.557, allocations: 9.871 MB / 0.7288 GB, free: 78.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/1.561, allocations: 2.062 MB / 0.7308 GB, free: 76.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/1.564, allocations: 1.469 MB / 0.7322 GB, free: 74.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/1.565, allocations: 49.7 kB / 0.7323 GB, free: 74.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003451/1.568, allocations: 1.713 MB / 0.734 GB, free: 73.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 9.107e-06/1.568, allocations: 3.938 kB / 0.734 GB, free: 73.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.04098/1.609, allocations: 13.17 MB / 0.7468 GB, free: 59.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/1.609, allocations: 180.3 kB / 0.747 GB, free: 59.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/1.613, allocations: 1.745 MB / 0.7487 GB, free: 58.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008582/1.614, allocations: 25.7 kB / 0.7487 GB, free: 58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/1.614, allocations: 0.7153 MB / 0.7494 GB, free: 57.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001914/1.616, allocations: 0.8274 MB / 0.7502 GB, free: 56.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/1.617, allocations: 0 / 0.7502 GB, free: 56.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002071/1.617, allocations: 395 kB / 0.7506 GB, free: 56.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002543/1.62, allocations: 1.235 MB / 0.7518 GB, free: 54.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/1.622, allocations: 1.539 MB / 0.7533 GB, free: 53.17 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/1.625, allocations: 1.354 MB / 0.7546 GB, free: 51.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/1.625, allocations: 4 kB / 0.7547 GB, free: 51.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04021/1.665, allocations: 13.19 MB / 0.7675 GB, free: 38.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.665, allocations: 8 kB / 0.7675 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/1.665, allocations: 4 kB / 0.7675 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01778/1.683, allocations: 5.287 MB / 0.7727 GB, free: 33.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002709/1.686, allocations: 423.4 kB / 0.7731 GB, free: 32.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04261/1.728, allocations: 16.81 MB / 0.7895 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005329/1.734, allocations: 0.525 MB / 0.79 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.735, allocations: 91.97 kB / 0.7901 GB, free: 15.18 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.001434/1.736, allocations: 205.2 kB / 0.7903 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/1.737, allocations: 304.2 kB / 0.7906 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03989/1.777, allocations: 13.44 MB / 0.8037 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.732e-05/1.777, allocations: 24 kB / 0.8038 GB, free: 1.152 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.271e-05/1.777, allocations: 16 kB / 0.8038 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.778e-05/1.778, allocations: 19.86 kB / 0.8038 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05501/1.833, allocations: 16.78 MB / 0.8202 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/1.833, allocations: 4 kB / 0.8202 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/1.835, allocations: 243.7 kB / 0.8204 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01764/1.852, allocations: 5.159 MB / 0.8255 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008771/1.853, allocations: 19.98 kB / 0.8255 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04329/1.897, allocations: 17.51 MB / 0.8426 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.897, allocations: 4 kB / 0.8426 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05269/1.949, allocations: 15.5 MB / 0.8577 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0518/2.001, allocations: 17.98 MB / 0.8753 GB, free: 7.309 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/2.003, allocations: 412.8 kB / 0.8757 GB, free: 6.883 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001442/2.004, allocations: 11.89 kB / 0.8757 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0048/2.009, allocations: 403.7 kB / 0.8761 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/2.011, allocations: 349.3 kB / 0.8764 GB, free: 6.133 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/2.011, allocations: 67.98 kB / 0.8765 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.002078/2.013, allocations: 1.304 MB / 0.8778 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005017/2.018, allocations: 1.018 MB / 0.8787 GB, free: 3.738 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.0005079/2.018, allocations: 144.7 kB / 0.8789 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2445/2.263, allocations: 5.652 MB / 0.8844 GB, free: 200.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/2.263, allocations: 3.188 kB / 0.8844 GB, free: 200.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01346/2.276, allocations: 4.212 MB / 0.8885 GB, free: 200.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003098/2.28, allocations: 185.8 kB / 0.8887 GB, free: 200.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/2.293, allocations: 4.291 MB / 0.8929 GB, free: 199.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/2.295, allocations: 2.014 MB / 0.8949 GB, free: 198.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/2.295, allocations: 0 / 0.8949 GB, free: 198.3 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)