Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_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.001987/0.001987, allocations: 185.2 kB / 7.463 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.065/1.065, allocations: 221.4 MB / 229.3 MB, free: 3.094 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.0008358/0.0008358, allocations: 91.59 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3976/0.3976, allocations: 78.1 MB / 409 MB, free: 3.738 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1229/0.5205, allocations: 75.49 MB / 484.5 MB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.797, allocations: 69.33 MB / 0.5408 GB, free: 38.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09387/0.8909, allocations: 98.76 MB / 0.6373 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.8911, allocations: 79.95 kB / 0.6374 GB, free: 14.49 MB / 0.4948 GB 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.1782/1.069, allocations: 72.23 MB / 0.7079 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/1.069, allocations: 8 kB / 0.7079 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/1.08, allocations: 1.677 MB / 0.7095 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/1.083, allocations: 1.643 MB / 0.7111 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007215/1.084, allocations: 0.6783 MB / 0.7118 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006479/1.085, allocations: 131.9 kB / 0.7119 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004601/1.089, allocations: 2.215 MB / 0.7141 GB, free: 15.34 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004199/1.094, allocations: 2.27 MB / 0.7163 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/1.094, allocations: 0 / 0.7163 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/1.094, allocations: 0 / 0.7163 GB, free: 13 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/1.094, allocations: 51.94 kB / 0.7164 GB, free: 12.95 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/1.111, allocations: 9.788 MB / 0.7259 GB, free: 2.793 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003375/1.114, allocations: 2.023 MB / 0.7279 GB, free: 0.7344 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002066/1.116, allocations: 1.454 MB / 0.7293 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/1.117, allocations: 45.88 kB / 0.7294 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002567/1.119, allocations: 1.674 MB / 0.731 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=247): time 3.616e-06/1.119, allocations: 0 / 0.731 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=247): time 0.0394/1.158, allocations: 13.14 MB / 0.7438 GB, free: 368 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/1.159, allocations: 188.2 kB / 0.744 GB, free: 144 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/1.162, allocations: 1.7 MB / 0.7457 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000466/1.162, allocations: 25.7 kB / 0.7457 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000434/1.162, allocations: 0.7074 MB / 0.7464 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.164, allocations: 0.8235 MB / 0.7472 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/1.164, allocations: 0 / 0.7472 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.164, allocations: 394.9 kB / 0.7476 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002105/1.166, allocations: 1.216 MB / 0.7488 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/1.168, allocations: 1.508 MB / 0.7502 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002183/1.171, allocations: 1.326 MB / 0.7515 GB, free: 8.281 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.171, allocations: 7.984 kB / 0.7515 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.2036/1.374, allocations: 13.09 MB / 0.7643 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.374, allocations: 3.938 kB / 0.7643 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/1.374, allocations: 11.62 kB / 0.7643 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01634/1.391, allocations: 5.184 MB / 0.7694 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.393, allocations: 413.8 kB / 0.7698 GB, free: 183.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03382/1.427, allocations: 15.56 MB / 0.785 GB, free: 181.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/1.43, allocations: 0.5138 MB / 0.7855 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/1.43, allocations: 86.7 kB / 0.7856 GB, free: 181.6 MB / 0.6042 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.0005227/1.431, allocations: 205.8 kB / 0.7858 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/1.431, allocations: 294.2 kB / 0.786 GB, free: 181.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0355/1.467, allocations: 13.4 MB / 0.7991 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/1.467, allocations: 22.66 kB / 0.7991 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.467, allocations: 22.72 kB / 0.7992 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/1.467, allocations: 19.17 kB / 0.7992 GB, free: 180.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03978/1.507, allocations: 16.69 MB / 0.8155 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/1.507, allocations: 5.062 kB / 0.8155 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.508, allocations: 247.3 kB / 0.8157 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01526/1.524, allocations: 5.163 MB / 0.8208 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004255/1.524, allocations: 19.34 kB / 0.8208 GB, free: 178.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03375/1.558, allocations: 17.49 MB / 0.8379 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.558, allocations: 9.562 kB / 0.8379 GB, free: 169.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03888/1.597, allocations: 15.42 MB / 0.8529 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04062/1.637, allocations: 17.87 MB / 0.8704 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007948/1.638, allocations: 410.3 kB / 0.8708 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/1.639, allocations: 8 kB / 0.8708 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002933/1.642, allocations: 404 kB / 0.8712 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008536/1.643, allocations: 339 kB / 0.8715 GB, free: 145 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002207/1.643, allocations: 67.64 kB / 0.8716 GB, free: 145 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001377/1.644, allocations: 1.27 MB / 0.8728 GB, free: 143.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002816/1.647, allocations: 1.002 MB / 0.8738 GB, free: 142.8 MB / 0.6042 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.0003391/1.647, allocations: 149.1 kB / 0.8739 GB, free: 142.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.66, allocations: 5.458 MB / 0.8792 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.66, allocations: 4.188 kB / 0.8793 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01034/1.67, allocations: 4.211 MB / 0.8834 GB, free: 134 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.671, allocations: 184.9 kB / 0.8835 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008192/1.68, allocations: 4.015 MB / 0.8875 GB, free: 130.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.681, allocations: 1.969 MB / 0.8894 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/1.681, allocations: 4 kB / 0.8894 GB, free: 128.6 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)