Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003378/0.003378, allocations: 181.6 kB / 7.456 MB, free: 1.926 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.259/1.259, allocations: 205.2 MB / 213 MB, free: 1.879 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009952/0.0009948, allocations: 87.25 kB / 261.1 MB, free: 1.832 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07003/0.07003, allocations: 12.2 MB / 321.2 MB, free: 15.62 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4414/0.4414, allocations: 78.04 MB / 449.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3034/0.7448, allocations: 76.09 MB / 0.5137 GB, free: 42.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.857, allocations: 69.23 MB / 0.5813 GB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.9757, allocations: 100.3 MB / 0.6792 GB, free: 13.02 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.976, allocations: 79.91 kB / 0.6793 GB, free: 12.94 MB / 474.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.4196/1.396, allocations: 70.38 MB / 0.7481 GB, free: 63.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.396, allocations: 11.94 kB / 0.7481 GB, free: 63.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01116/1.407, allocations: 1.674 MB / 0.7497 GB, free: 62.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005013/1.412, allocations: 1.635 MB / 0.7513 GB, free: 60.36 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007973/1.413, allocations: 0.69 MB / 0.752 GB, free: 59.55 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/1.414, allocations: 123.9 kB / 0.7521 GB, free: 59.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006542/1.42, allocations: 2.215 MB / 0.7543 GB, free: 57.21 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006273/1.427, allocations: 2.274 MB / 0.7565 GB, free: 54.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.203e-05/1.427, allocations: 0 / 0.7565 GB, free: 54.86 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005538/1.427, allocations: 7.984 kB / 0.7565 GB, free: 54.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/1.427, allocations: 48 kB / 0.7565 GB, free: 54.81 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/1.449, allocations: 9.792 MB / 0.7661 GB, free: 44.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003854/1.453, allocations: 2.019 MB / 0.7681 GB, free: 42.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/1.455, allocations: 1.45 MB / 0.7695 GB, free: 41.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/1.456, allocations: 41.95 kB / 0.7695 GB, free: 41.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003142/1.459, allocations: 1.686 MB / 0.7712 GB, free: 39.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 5.811e-06/1.459, allocations: 0 / 0.7712 GB, free: 39.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=247): time 0.03988/1.499, allocations: 13.14 MB / 0.784 GB, free: 26.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.59e-05/1.499, allocations: 180.2 kB / 0.7842 GB, free: 26.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/1.503, allocations: 1.7 MB / 0.7858 GB, free: 24.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008525/1.504, allocations: 25.7 kB / 0.7859 GB, free: 24.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005848/1.504, allocations: 0.7153 MB / 0.7866 GB, free: 23.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001984/1.506, allocations: 0.8081 MB / 0.7873 GB, free: 22.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006181/1.507, allocations: 0 / 0.7873 GB, free: 22.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002065/1.507, allocations: 406.8 kB / 0.7877 GB, free: 22.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002639/1.51, allocations: 1.212 MB / 0.7889 GB, free: 21.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/1.513, allocations: 1.503 MB / 0.7904 GB, free: 19.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002822/1.515, allocations: 1.334 MB / 0.7917 GB, free: 18.14 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-05/1.515, allocations: 3.938 kB / 0.7917 GB, free: 18.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.03852/1.554, allocations: 13.09 MB / 0.8045 GB, free: 4.988 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.554, allocations: 8 kB / 0.8045 GB, free: 4.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/1.554, allocations: 4 kB / 0.8045 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01658/1.571, allocations: 5.179 MB / 0.8095 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/1.573, allocations: 419.4 kB / 0.8099 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04468/1.618, allocations: 15.56 MB / 0.8251 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004645/1.623, allocations: 0.5172 MB / 0.8256 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007098/1.624, allocations: 95.97 kB / 0.8257 GB, free: 15.06 MB / 0.4948 GB 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.001096/1.625, allocations: 205.2 kB / 0.8259 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.626, allocations: 292.3 kB / 0.8262 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04263/1.668, allocations: 13.41 MB / 0.8393 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.569e-05/1.669, allocations: 27.94 kB / 0.8393 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-05/1.669, allocations: 20 kB / 0.8393 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000117/1.669, allocations: 11.95 kB / 0.8394 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05079/1.72, allocations: 16.7 MB / 0.8557 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-05/1.72, allocations: 0 / 0.8557 GB, free: 252 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00198/1.722, allocations: 247.6 kB / 0.8559 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01759/1.739, allocations: 5.164 MB / 0.8609 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007906/1.74, allocations: 15.98 kB / 0.861 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04577/1.786, allocations: 17.5 MB / 0.8781 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/1.786, allocations: 4 kB / 0.8781 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04827/1.834, allocations: 15.42 MB / 0.8931 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2717/2.106, allocations: 17.86 MB / 0.9106 GB, free: 182.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0013/2.107, allocations: 401.9 kB / 0.9109 GB, free: 182.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/2.109, allocations: 13.86 kB / 0.911 GB, free: 182.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003631/2.112, allocations: 401.9 kB / 0.9113 GB, free: 182.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/2.113, allocations: 340.8 kB / 0.9117 GB, free: 182.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/2.114, allocations: 68.48 kB / 0.9117 GB, free: 182.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.00193/2.116, allocations: 1.267 MB / 0.913 GB, free: 182.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004095/2.12, allocations: 0.9977 MB / 0.9139 GB, free: 182.5 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.0005057/2.12, allocations: 152.7 kB / 0.9141 GB, free: 182.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01422/2.134, allocations: 5.464 MB / 0.9194 GB, free: 182.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/2.134, allocations: 6.594 kB / 0.9194 GB, free: 182.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01274/2.147, allocations: 4.194 MB / 0.9235 GB, free: 181.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/2.151, allocations: 183.2 kB / 0.9237 GB, free: 181.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/2.163, allocations: 4.02 MB / 0.9276 GB, free: 180.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002243/2.165, allocations: 1.977 MB / 0.9296 GB, free: 179.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.303e-06/2.165, allocations: 1.875 kB / 0.9296 GB, free: 179.8 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)