Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_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 3.2.3+maint.om/package.mo): time 0.002892/0.002892, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.121/1.121, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 96.56 kB / 261.1 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0663/0.0663, allocations: 12.18 MB / 321.2 MB, free: 1.359 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2833/0.2833, allocations: 78.05 MB / 449.9 MB, free: 3.676 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2392/0.5226, allocations: 76.09 MB / 0.5137 GB, free: 30.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.6452, allocations: 69.22 MB / 0.5813 GB, free: 9.219 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.329/0.9743, allocations: 101.1 MB / 0.68 GB, free: 8.266 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.9746, allocations: 84.42 kB / 0.68 GB, free: 8.223 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.195/1.17, allocations: 70.5 MB / 0.7489 GB, free: 12.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.17, allocations: 15.94 kB / 0.7489 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/1.181, allocations: 1.67 MB / 0.7505 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00468/1.186, allocations: 1.654 MB / 0.7522 GB, free: 9.043 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008266/1.187, allocations: 0.6861 MB / 0.7528 GB, free: 8.242 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009403/1.188, allocations: 127.9 kB / 0.7529 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007173/1.195, allocations: 2.216 MB / 0.7551 GB, free: 5.895 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/1.201, allocations: 2.275 MB / 0.7573 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/1.201, allocations: 0 / 0.7573 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/1.202, allocations: 0 / 0.7573 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/1.202, allocations: 52 kB / 0.7574 GB, free: 3.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/1.224, allocations: 9.809 MB / 0.767 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/1.228, allocations: 2.027 MB / 0.7689 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002907/1.231, allocations: 1.454 MB / 0.7704 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000326/1.232, allocations: 45.89 kB / 0.7704 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003092/1.235, allocations: 1.678 MB / 0.772 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=248): time 4.92e-06/1.235, allocations: 0 / 0.772 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.04262/1.277, allocations: 13.14 MB / 0.7849 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.278, allocations: 184.3 kB / 0.7851 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/1.28, allocations: 1.693 MB / 0.7867 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006916/1.281, allocations: 25.7 kB / 0.7867 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/1.282, allocations: 0.7074 MB / 0.7874 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001888/1.284, allocations: 0.8235 MB / 0.7882 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/1.284, allocations: 0 / 0.7882 GB, free: 3.395 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001947/1.284, allocations: 398.9 kB / 0.7886 GB, free: 3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/1.286, allocations: 1.22 MB / 0.7898 GB, free: 1.777 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002508/1.289, allocations: 1.515 MB / 0.7913 GB, free: 168 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002568/1.292, allocations: 1.332 MB / 0.7926 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/1.292, allocations: 4 kB / 0.7926 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.04103/1.333, allocations: 13.1 MB / 0.8054 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/1.333, allocations: 4 kB / 0.8054 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.333, allocations: 8 kB / 0.8054 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01775/1.35, allocations: 5.188 MB / 0.8105 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/1.353, allocations: 419.5 kB / 0.8109 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04136/1.394, allocations: 15.49 MB / 0.826 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.399, allocations: 0.5173 MB / 0.8265 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005744/1.4, allocations: 87.97 kB / 0.8266 GB, free: 11.78 MB / 0.5573 GB 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_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 (226): * Single equations (assignments): 221 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007154/1.4, allocations: 230.5 kB / 0.8268 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/1.401, allocations: 292.3 kB / 0.8271 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04145/1.442, allocations: 13.4 MB / 0.8402 GB, free: 13.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/1.443, allocations: 24 kB / 0.8402 GB, free: 13.78 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.699e-05/1.443, allocations: 20 kB / 0.8402 GB, free: 13.76 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-05/1.443, allocations: 15.95 kB / 0.8402 GB, free: 13.75 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2925/1.735, allocations: 16.67 MB / 0.8565 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/1.735, allocations: 0 / 0.8565 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.737, allocations: 244.4 kB / 0.8567 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/1.753, allocations: 5.2 MB / 0.8618 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007843/1.753, allocations: 19.44 kB / 0.8618 GB, free: 106.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03692/1.79, allocations: 17.43 MB / 0.8788 GB, free: 102.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.79, allocations: 0 / 0.8788 GB, free: 102.1 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04066/1.831, allocations: 15.43 MB / 0.8939 GB, free: 101.6 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04458/1.876, allocations: 17.88 MB / 0.9114 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.877, allocations: 411.2 kB / 0.9118 GB, free: 99.84 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007673/1.878, allocations: 7.75 kB / 0.9118 GB, free: 99.84 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.881, allocations: 404.4 kB / 0.9122 GB, free: 99.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009165/1.882, allocations: 336.3 kB / 0.9125 GB, free: 99.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/1.882, allocations: 67.06 kB / 0.9126 GB, free: 99.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001583/1.884, allocations: 1.261 MB / 0.9138 GB, free: 99.65 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003547/1.887, allocations: 0.9943 MB / 0.9148 GB, free: 99.61 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005062/1.888, allocations: 150.7 kB / 0.9149 GB, free: 99.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01431/1.902, allocations: 5.488 MB / 0.9203 GB, free: 98.03 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.902, allocations: 0 / 0.9203 GB, free: 98.03 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.012/1.914, allocations: 4.231 MB / 0.9244 GB, free: 96.58 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002301/1.917, allocations: 185.5 kB / 0.9246 GB, free: 96.48 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.928, allocations: 4.09 MB / 0.9286 GB, free: 94.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/1.931, allocations: 1.991 MB / 0.9305 GB, free: 93.83 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/1.931, allocations: 0 / 0.9305 GB, free: 93.83 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)