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: translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses") translateModel(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_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.001997/0.001997, allocations: 180.1 kB / 7.454 MB, free: 2.508 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.222/1.222, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.0009952/0.0009951, allocations: 97.38 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4081/0.4081, allocations: 78.07 MB / 409 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.553e-06/6.583e-06, allocations: 0 / 484.3 MB, free: 4.449 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2822, allocations: 69.35 MB / 0.5407 GB, free: 21.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.4013, allocations: 104.3 MB / 0.6426 GB, free: 476 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.4015, allocations: 71.97 kB / 0.6427 GB, free: 404 kB / 458.7 MB Notification: Performance of FrontEnd: time 0.5478/0.9494, allocations: 137.4 MB / 0.7768 GB, free: 29.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005214/0.95, allocations: 107.9 kB / 0.7769 GB, free: 29.8 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.01999/0.97, allocations: 6.809 MB / 0.7836 GB, free: 22.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.97, allocations: 8.031 kB / 0.7836 GB, free: 22.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/0.9857, allocations: 2.482 MB / 0.786 GB, free: 20.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007465/0.9932, allocations: 3.261 MB / 0.7892 GB, free: 17.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007958/0.994, allocations: 0.8596 MB / 0.79 GB, free: 16.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.9953, allocations: 223.8 kB / 0.7902 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008073/1.003, allocations: 3.935 MB / 0.7941 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/1.01, allocations: 3.901 MB / 0.7979 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.255e-05/1.011, allocations: 4 kB / 0.7979 GB, free: 7.938 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004202/1.011, allocations: 4 kB / 0.7979 GB, free: 7.934 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/1.011, allocations: 84 kB / 0.798 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/1.043, allocations: 17.59 MB / 0.8152 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007403/1.05, allocations: 4.194 MB / 0.8193 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004372/1.055, allocations: 2.746 MB / 0.8219 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/1.055, allocations: 95.45 kB / 0.822 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005008/1.06, allocations: 3.017 MB / 0.825 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=476): time 6.181e-06/1.06, allocations: 0 / 0.825 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.05889/1.119, allocations: 17.52 MB / 0.8421 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001573/1.119, allocations: 372.2 kB / 0.8424 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006358/1.125, allocations: 3.569 MB / 0.8459 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/1.127, allocations: 25.7 kB / 0.846 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000793/1.128, allocations: 1.112 MB / 0.847 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004058/1.132, allocations: 1.593 MB / 0.8486 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003948/1.132, allocations: 0 / 0.8486 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003208/1.132, allocations: 492.3 kB / 0.8491 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00439/1.137, allocations: 2.224 MB / 0.8512 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004611/1.141, allocations: 2.646 MB / 0.8538 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004914/1.146, allocations: 2.475 MB / 0.8562 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/1.146, allocations: 4 kB / 0.8562 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05895/1.205, allocations: 17.44 MB / 0.8733 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.205, allocations: 15.89 kB / 0.8733 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/1.205, allocations: 4 kB / 0.8733 GB, free: 9.695 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03489/1.24, allocations: 9.382 MB / 0.8825 GB, free: 308 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1729/1.413, allocations: 0.7529 MB / 0.8832 GB, free: 149 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07363/1.487, allocations: 30.61 MB / 0.9131 GB, free: 146.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007677/1.495, allocations: 0.7253 MB / 0.9138 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.496, allocations: 168.4 kB / 0.914 GB, free: 146.1 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.001132/1.497, allocations: 332.6 kB / 0.9143 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.498, allocations: 0.5592 MB / 0.9148 GB, free: 145.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05456/1.553, allocations: 17.98 MB / 0.9324 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-05/1.553, allocations: 50.19 kB / 0.9324 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/1.553, allocations: 1.75 kB / 0.9324 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001166/1.553, allocations: 28.2 kB / 0.9325 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06916/1.622, allocations: 25.35 MB / 0.9572 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/1.622, allocations: 6.875 kB / 0.9572 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003245/1.626, allocations: 408.8 kB / 0.9576 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0327/1.658, allocations: 10.35 MB / 0.9677 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/1.66, allocations: 40.55 kB / 0.9677 GB, free: 137.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07041/1.73, allocations: 33.36 MB / 1 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.73, allocations: 4.406 kB / 1 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06044/1.791, allocations: 21.68 MB / 1.021 GB, free: 95.36 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.792, allocations: 0.7702 MB / 1.022 GB, free: 94.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001866/1.794, allocations: 16 kB / 1.022 GB, free: 94.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006349/1.801, allocations: 0.514 MB / 1.023 GB, free: 94.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001633/1.802, allocations: 491.2 kB / 1.023 GB, free: 94.01 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004807/1.803, allocations: 127.2 kB / 1.023 GB, free: 93.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.003833/1.807, allocations: 2.657 MB / 1.026 GB, free: 91.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005971/1.813, allocations: 1.78 MB / 1.028 GB, free: 89.75 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.0006591/1.813, allocations: 186.7 kB / 1.028 GB, free: 89.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02321/1.837, allocations: 9.203 MB / 1.037 GB, free: 81.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.837, allocations: 0 / 1.037 GB, free: 81.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01925/1.856, allocations: 7.022 MB / 1.044 GB, free: 74.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.86, allocations: 374.2 kB / 1.044 GB, free: 74.33 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/1.884, allocations: 9.331 MB / 1.053 GB, free: 66.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003731/1.888, allocations: 3.111 MB / 1.056 GB, free: 63.75 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/1.888, allocations: 4 kB / 1.056 GB, free: 63.75 MB / 0.5573 GB Notification: Performance of Templates: time 0.3119/2.2, allocations: 104.5 MB / 1.158 GB, free: 147.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.makefile (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 & ./OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)