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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 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 / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 97.09 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4472/0.4472, allocations: 78.02 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.968e-05, allocations: 4 kB / 491.8 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2934, allocations: 69.35 MB / 0.5479 GB, free: 20.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.41, allocations: 105.1 MB / 0.6506 GB, free: 11.33 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.4102, allocations: 75.95 kB / 0.6506 GB, free: 11.25 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.573/0.9832, allocations: 139.2 MB / 0.7865 GB, free: 19.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.9832, allocations: 0 / 0.7865 GB, free: 19.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003371/0.9836, allocations: 107.9 kB / 0.7866 GB, free: 19.75 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.01659/1, allocations: 6.575 MB / 0.7931 GB, free: 13.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1, allocations: 11.97 kB / 0.7931 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/1.015, allocations: 2.396 MB / 0.7954 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/1.022, allocations: 3.226 MB / 0.7986 GB, free: 7.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006986/1.023, allocations: 0.9768 MB / 0.7995 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009233/1.024, allocations: 363.8 kB / 0.7999 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007636/1.032, allocations: 4.379 MB / 0.8041 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/1.032, allocations: 3.984 kB / 0.8041 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004346/1.032, allocations: 144 kB / 0.8043 GB, free: 1.305 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.265e-05/1.032, allocations: 87.95 kB / 0.8044 GB, free: 1.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007919/1.04, allocations: 4.116 MB / 0.8084 GB, free: 13.1 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03858/1.079, allocations: 17.61 MB / 0.8256 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/1.099, allocations: 10.25 MB / 0.8356 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005727/1.104, allocations: 2.93 MB / 0.8385 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007355/1.105, allocations: 71.48 kB / 0.8385 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00797/1.113, allocations: 3.235 MB / 0.8417 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=476): time 1.137e-05/1.113, allocations: 0 / 0.8417 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=476): time 0.05534/1.168, allocations: 17.11 MB / 0.8584 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/1.169, allocations: 364.1 kB / 0.8587 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008001/1.177, allocations: 3.86 MB / 0.8625 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/1.178, allocations: 113.7 kB / 0.8626 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/1.18, allocations: 2.199 MB / 0.8648 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00252/1.183, allocations: 1.648 MB / 0.8664 GB, free: 300 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009587/1.183, allocations: 96 kB / 0.8665 GB, free: 204 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003865/1.184, allocations: 488.3 kB / 0.8669 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00496/1.189, allocations: 2.275 MB / 0.8691 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005372/1.194, allocations: 2.733 MB / 0.8718 GB, free: 10.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005823/1.2, allocations: 2.801 MB / 0.8745 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.738e-05/1.2, allocations: 0 / 0.8745 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05532/1.255, allocations: 17.28 MB / 0.8914 GB, free: 6.188 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/1.256, allocations: 279.2 kB / 0.8917 GB, free: 5.855 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/1.256, allocations: 7.984 kB / 0.8917 GB, free: 5.848 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3165/1.572, allocations: 12.76 MB / 0.9042 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/1.577, allocations: 0.7358 MB / 0.9049 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07588/1.653, allocations: 34.43 MB / 0.9385 GB, free: 116.9 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007065/1.66, allocations: 0.7964 MB / 0.9393 GB, free: 116.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.661, allocations: 165.9 kB / 0.9394 GB, free: 116.7 MB / 0.573 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 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 (401): * Single equations (assignments): 389 * 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 {94 113} Notification: Performance of prepare postOptimizeDAE: time 0.001944/1.663, allocations: 495.7 kB / 0.9399 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002022/1.665, allocations: 0.5651 MB / 0.9405 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.053/1.718, allocations: 17.71 MB / 0.9578 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-05/1.718, allocations: 46.81 kB / 0.9578 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.718, allocations: 3.812 kB / 0.9578 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001179/1.718, allocations: 22.36 kB / 0.9578 GB, free: 112.1 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06306/1.781, allocations: 27.09 MB / 0.9843 GB, free: 97.22 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/1.781, allocations: 0 / 0.9843 GB, free: 97.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/1.784, allocations: 409.3 kB / 0.9847 GB, free: 96.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02788/1.812, allocations: 10.17 MB / 0.9946 GB, free: 88.39 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001196/1.813, allocations: 107.2 kB / 0.9947 GB, free: 88.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06921/1.882, allocations: 36.36 MB / 1.03 GB, free: 54.96 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/1.882, allocations: 0 / 1.03 GB, free: 54.96 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05689/1.939, allocations: 21.31 MB / 1.051 GB, free: 37.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/1.941, allocations: 0.7875 MB / 1.052 GB, free: 36.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002133/1.943, allocations: 99.83 kB / 1.052 GB, free: 36.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006686/1.95, allocations: 0.5505 MB / 1.052 GB, free: 35.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00364/1.954, allocations: 0.8269 MB / 1.053 GB, free: 35.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008866/1.955, allocations: 123.1 kB / 1.053 GB, free: 35.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005187/1.96, allocations: 2.924 MB / 1.056 GB, free: 32.71 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.51e-07/1.96, allocations: 0 / 1.056 GB, free: 32.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008208/1.968, allocations: 2.055 MB / 1.058 GB, free: 30.71 MB / 0.573 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.001281/1.969, allocations: 277 kB / 1.058 GB, free: 30.47 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02333/1.993, allocations: 9.813 MB / 1.068 GB, free: 21.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.993, allocations: 4 kB / 1.068 GB, free: 21.27 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01914/2.012, allocations: 7.574 MB / 1.075 GB, free: 14.33 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005221/2.017, allocations: 462.2 kB / 1.076 GB, free: 13.92 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/2.037, allocations: 9.119 MB / 1.085 GB, free: 5.734 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002637/2.039, allocations: 2.957 MB / 1.088 GB, free: 3.574 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002459/2.042, allocations: 385.8 kB / 1.088 GB, free: 3.32 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/2.043, allocations: 237.4 kB / 1.088 GB, free: 3.109 MB / 0.573 GB Notification: Performance of SimCode: time 8.32e-07/2.043, allocations: 0 / 1.088 GB, free: 3.109 MB / 0.573 GB Notification: Performance of Templates: time 0.4301/2.473, allocations: 110.9 MB / 1.197 GB, free: 145.9 MB / 0.6042 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)