Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.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.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",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.002643/0.002643, allocations: 184.3 kB / 7.462 MB, free: 2.227 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.148/1.148, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0009339/0.000934, allocations: 96.69 kB / 280.1 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3887/0.3887, allocations: 78.06 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1308/0.5196, allocations: 75.48 MB / 484.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.7886, allocations: 69.34 MB / 0.5408 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.9109, allocations: 104.3 MB / 0.6427 GB, free: 444 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001781/0.9111, allocations: 67.97 kB / 0.6428 GB, free: 372 kB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.5785/1.49, allocations: 144.3 MB / 0.7837 GB, free: 22.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/1.49, allocations: 8 kB / 0.7837 GB, free: 22.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01536/1.505, allocations: 2.482 MB / 0.7861 GB, free: 20.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/1.513, allocations: 3.273 MB / 0.7893 GB, free: 17 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008364/1.514, allocations: 0.8479 MB / 0.7901 GB, free: 16.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/1.516, allocations: 227.8 kB / 0.7904 GB, free: 15.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009266/1.525, allocations: 3.935 MB / 0.7942 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009877/1.535, allocations: 3.901 MB / 0.798 GB, free: 7.906 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.904e-05/1.535, allocations: 4 kB / 0.798 GB, free: 7.902 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004333/1.535, allocations: 7.984 kB / 0.798 GB, free: 7.895 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-05/1.535, allocations: 84 kB / 0.7981 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03618/1.572, allocations: 17.58 MB / 0.8153 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008057/1.58, allocations: 4.198 MB / 0.8194 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004891/1.585, allocations: 2.746 MB / 0.8221 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/1.585, allocations: 91.52 kB / 0.8221 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006048/1.591, allocations: 3.017 MB / 0.8251 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=476): time 6.722e-06/1.591, allocations: 0 / 0.8251 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.05663/1.648, allocations: 17.52 MB / 0.8422 GB, free: 10 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/1.648, allocations: 368.3 kB / 0.8425 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/1.655, allocations: 3.569 MB / 0.846 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001121/1.656, allocations: 29.7 kB / 0.8461 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/1.657, allocations: 1.108 MB / 0.8471 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004225/1.661, allocations: 1.601 MB / 0.8487 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/1.661, allocations: 4 kB / 0.8487 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003987/1.662, allocations: 488.3 kB / 0.8492 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004599/1.666, allocations: 2.224 MB / 0.8513 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005266/1.672, allocations: 2.642 MB / 0.8539 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005474/1.677, allocations: 2.483 MB / 0.8564 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/1.677, allocations: 0 / 0.8564 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05713/1.734, allocations: 17.44 MB / 0.8734 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.734, allocations: 7.906 kB / 0.8734 GB, free: 9.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.734, allocations: 8 kB / 0.8734 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03369/1.768, allocations: 9.386 MB / 0.8826 GB, free: 264 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1888/1.957, allocations: 0.7494 MB / 0.8833 GB, free: 147.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07241/2.029, allocations: 30.61 MB / 0.9132 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007407/2.037, allocations: 0.7311 MB / 0.9139 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/2.038, allocations: 165.2 kB / 0.9141 GB, free: 144.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 11 variables: groupBus1_1.Syn1.e2d:VARIABLE(start = groupBus1_1.Syn1.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e2q:VARIABLE(start = groupBus1_1.Syn1.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e1q:VARIABLE(start = groupBus1_1.Syn1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real groupBus1_1.Syn1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus1_1.Syn1.delta:VARIABLE(start = groupBus1_1.Syn1.delta0 unit = "rad" ) "Rotor angle" type: Real groupBus8_1.Syn4.e2d:VARIABLE(start = groupBus8_1.Syn4.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real groupBus8_1.Syn4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus8_1.Syn4.delta:VARIABLE(start = groupBus8_1.Syn4.delta0 unit = "rad" ) "Rotor angle" type: Real groupBus6_1.Syn5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus3_1.Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real groupBus2_1.Syn3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: lPQ3.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ2.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ4.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ9.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ5.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" type: Real lPQ12.a:VARIABLE(protected = true ) "Auxiliary variable, voltage division" 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: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (404): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 10 * 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 {98 106} Notification: Performance of prepare postOptimizeDAE: time 0.001486/2.04, allocations: 332.7 kB / 0.9144 GB, free: 144.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001938/2.042, allocations: 0.5585 MB / 0.9149 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05196/2.094, allocations: 17.98 MB / 0.9325 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.935e-05/2.094, allocations: 50.75 kB / 0.9325 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/2.094, allocations: 0 / 0.9325 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/2.094, allocations: 29 kB / 0.9326 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06303/2.157, allocations: 25.34 MB / 0.9573 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/2.157, allocations: 0.875 kB / 0.9573 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/2.16, allocations: 409.2 kB / 0.9577 GB, free: 138 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02973/2.19, allocations: 10.35 MB / 0.9678 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001403/2.191, allocations: 42.61 kB / 0.9678 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06762/2.259, allocations: 33.37 MB / 1 GB, free: 112 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/2.259, allocations: 0 / 1 GB, free: 112 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05907/2.318, allocations: 21.67 MB / 1.022 GB, free: 93.76 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0633/2.382, allocations: 25.71 MB / 1.047 GB, free: 71.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/2.384, allocations: 0.7684 MB / 1.047 GB, free: 70.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00239/2.386, allocations: 19.66 kB / 1.047 GB, free: 70.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006735/2.393, allocations: 0.5191 MB / 1.048 GB, free: 70.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001983/2.395, allocations: 483.6 kB / 1.048 GB, free: 70.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000604/2.395, allocations: 123.5 kB / 1.049 GB, free: 70.08 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.004313/2.4, allocations: 2.658 MB / 1.051 GB, free: 67.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008113/2.408, allocations: 1.79 MB / 1.053 GB, free: 65.93 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (groupBus2_1.aVR1TypeII1.ExcitationSystem.x_scaled[1],groupBus2_1.aVR1TypeII1.derivativeBlock.x,groupBus2_1.aVR1TypeII1.firstOrder2.y,groupBus2_1.aVR1TypeII1.simpleLagLim.state,groupBus2_1.Syn3.delta,groupBus2_1.Syn3.w,groupBus2_1.Syn3.e1q,groupBus2_1.Syn3.e1d,groupBus2_1.Syn3.e2q,groupBus2_1.Syn3.e2d,groupBus3_1.aVR2TypeII2.ExcitationSystem.x_scaled[1],groupBus3_1.aVR2TypeII2.derivativeBlock.x,groupBus3_1.aVR2TypeII2.firstOrder2.y,groupBus3_1.aVR2TypeII2.simpleLagLim.state,groupBus3_1.Syn2.delta,groupBus3_1.Syn2.w,groupBus3_1.Syn2.e1q,groupBus3_1.Syn2.e1d,groupBus3_1.Syn2.e2q,groupBus3_1.Syn2.e2d,groupBus6_1.aVR4TypeII1.ExcitationSystem.x_scaled[1],groupBus6_1.aVR4TypeII1.derivativeBlock.x,groupBus6_1.aVR4TypeII1.firstOrder2.y,groupBus6_1.aVR4TypeII1.simpleLagLim.state,groupBus6_1.Syn5.delta,groupBus6_1.Syn5.w,groupBus6_1.Syn5.e1q,groupBus6_1.Syn5.e1d,groupBus6_1.Syn5.e2q,groupBus6_1.Syn5.e2d,groupBus8_1.aVR3TypeII2.ExcitationSystem.x_scaled[1],groupBus8_1.aVR3TypeII2.derivativeBlock.x,groupBus8_1.aVR3TypeII2.firstOrder2.y,groupBus8_1.aVR3TypeII2.simpleLagLim.state,groupBus8_1.Syn4.delta,groupBus8_1.Syn4.w,groupBus8_1.Syn4.e1q,groupBus8_1.Syn4.e1d,groupBus8_1.Syn4.e2q,groupBus8_1.Syn4.e2d,groupBus1_1.AVR1.ExcitationSystem.x_scaled[1],groupBus1_1.AVR1.derivativeBlock.x,groupBus1_1.AVR1.firstOrder2.y,groupBus1_1.AVR1.simpleLagLim.state,groupBus1_1.Syn1.delta,groupBus1_1.Syn1.w,groupBus1_1.Syn1.e1q,groupBus1_1.Syn1.e2q,groupBus1_1.Syn1.e2d) * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (258): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {110 94,1 6,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001062/2.409, allocations: 187.2 kB / 1.053 GB, free: 65.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02305/2.432, allocations: 9.2 MB / 1.062 GB, free: 57.24 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.432, allocations: 4 kB / 1.062 GB, free: 57.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01881/2.451, allocations: 7.017 MB / 1.069 GB, free: 50.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/2.455, allocations: 380 kB / 1.069 GB, free: 50.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02429/2.479, allocations: 9.406 MB / 1.078 GB, free: 42.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00409/2.483, allocations: 3.351 MB / 1.082 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of SimCode: time 1.463e-06/2.483, allocations: 0 / 1.082 GB, free: 39.66 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE14_IEEE_14_Buses.fmu > OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)