Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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: translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") [: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.001743/0.001743, allocations: 170.4 kB / 7.455 MB, free: 2.324 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.032/1.032, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0008513/0.0008513, allocations: 96.81 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3489/0.3489, allocations: 78.1 MB / 409 MB, free: 15.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.255e-06, allocations: 4 kB / 484.4 MB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2158, allocations: 69.33 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3166, allocations: 104.3 MB / 0.6426 GB, free: 0.582 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.3168, allocations: 71.95 kB / 0.6427 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4616/0.7784, allocations: 137.4 MB / 0.7769 GB, free: 30.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004167/0.7788, allocations: 107.9 kB / 0.777 GB, free: 30 MB / 490.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.01713/0.796, allocations: 6.802 MB / 0.7836 GB, free: 23.07 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.796, allocations: 8.031 kB / 0.7836 GB, free: 23.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/0.81, allocations: 2.486 MB / 0.786 GB, free: 20.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00654/0.8166, allocations: 3.265 MB / 0.7892 GB, free: 17.24 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006792/0.8173, allocations: 0.8518 MB / 0.7901 GB, free: 16.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.8183, allocations: 227.8 kB / 0.7903 GB, free: 16.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006372/0.8247, allocations: 3.935 MB / 0.7941 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00571/0.8304, allocations: 3.901 MB / 0.7979 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.8305, allocations: 0 / 0.7979 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003566/0.8308, allocations: 0 / 0.7979 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-05/0.8309, allocations: 84 kB / 0.798 GB, free: 8.066 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02669/0.8576, allocations: 17.6 MB / 0.8152 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006531/0.8642, allocations: 4.203 MB / 0.8193 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003716/0.8679, allocations: 2.749 MB / 0.822 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.8683, allocations: 79.55 kB / 0.8221 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00444/0.8728, allocations: 3.024 MB / 0.825 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=476): time 5.46e-06/0.8728, allocations: 0 / 0.825 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.05204/0.9248, allocations: 17.53 MB / 0.8421 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.925, allocations: 364.1 kB / 0.8425 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005411/0.9304, allocations: 3.566 MB / 0.846 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009924/0.9314, allocations: 29.69 kB / 0.846 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006605/0.9321, allocations: 1.112 MB / 0.8471 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00289/0.935, allocations: 1.597 MB / 0.8486 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003264/0.9353, allocations: 0 / 0.8486 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.9355, allocations: 492.3 kB / 0.8491 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/0.9392, allocations: 2.22 MB / 0.8513 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004005/0.9432, allocations: 2.646 MB / 0.8539 GB, free: 14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.9473, allocations: 2.475 MB / 0.8563 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-06/0.9473, allocations: 8 kB / 0.8563 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05099/0.9983, allocations: 17.44 MB / 0.8733 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.9983, allocations: 11.91 kB / 0.8733 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.9983, allocations: 4 kB / 0.8733 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0301/1.028, allocations: 9.381 MB / 0.8825 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1398/1.168, allocations: 0.755 MB / 0.8832 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06141/1.23, allocations: 30.6 MB / 0.9131 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006349/1.236, allocations: 0.7327 MB / 0.9138 GB, free: 146 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004366/1.237, allocations: 167.7 kB / 0.914 GB, free: 146 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.0008633/1.237, allocations: 332.2 kB / 0.9143 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007217/1.238, allocations: 0.5604 MB / 0.9149 GB, free: 145.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04708/1.285, allocations: 17.98 MB / 0.9324 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/1.285, allocations: 54.44 kB / 0.9325 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.285, allocations: 1.75 kB / 0.9325 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.15e-05/1.285, allocations: 28.73 kB / 0.9325 GB, free: 145.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05571/1.341, allocations: 25.34 MB / 0.9572 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.341, allocations: 2.844 kB / 0.9572 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/1.344, allocations: 412 kB / 0.9576 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0272/1.371, allocations: 10.36 MB / 0.9677 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000817/1.372, allocations: 43.62 kB / 0.9678 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05994/1.432, allocations: 33.35 MB / 1 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.432, allocations: 4 kB / 1 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05181/1.484, allocations: 21.67 MB / 1.022 GB, free: 95.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.486, allocations: 0.7712 MB / 1.022 GB, free: 94.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008982/1.486, allocations: 26.84 kB / 1.022 GB, free: 94.85 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004998/1.491, allocations: 0.511 MB / 1.023 GB, free: 94.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001203/1.493, allocations: 488.1 kB / 1.023 GB, free: 94.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003752/1.493, allocations: 129.9 kB / 1.023 GB, free: 94.07 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.003084/1.496, allocations: 2.647 MB / 1.026 GB, free: 91.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004057/1.5, allocations: 1.792 MB / 1.028 GB, free: 89.92 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.0004865/1.501, allocations: 190.9 kB / 1.028 GB, free: 89.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01922/1.52, allocations: 9.201 MB / 1.037 GB, free: 81.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.52, allocations: 4 kB / 1.037 GB, free: 81.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01579/1.536, allocations: 7.014 MB / 1.044 GB, free: 74.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.538, allocations: 380.4 kB / 1.044 GB, free: 74.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/1.556, allocations: 9.33 MB / 1.053 GB, free: 66.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002644/1.559, allocations: 3.116 MB / 1.056 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of SimCode: time 7.51e-07/1.559, allocations: 0 / 1.056 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.2537/1.812, allocations: 104.5 MB / 1.158 GB, free: 147.8 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)