Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_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.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, 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.225/1.225, allocations: 221.4 MB / 234.6 MB, free: 14.38 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.0008821/0.000882, allocations: 92.98 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4253/0.4253, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.652e-05, allocations: 4 kB / 491.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2915, allocations: 69.33 MB / 0.5479 GB, free: 20.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.4079, allocations: 102.3 MB / 0.6478 GB, free: 14.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.4082, allocations: 75.97 kB / 0.6479 GB, free: 14.06 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4365/0.8446, allocations: 71.27 MB / 0.7175 GB, free: 90.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.8447, allocations: 0 / 0.7175 GB, free: 90.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001735/0.8449, allocations: 56.44 kB / 0.7175 GB, free: 90.77 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: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.007302/0.8522, allocations: 3.344 MB / 0.7208 GB, free: 87.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.8522, allocations: 15.97 kB / 0.7208 GB, free: 87.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00651/0.8587, allocations: 1.184 MB / 0.722 GB, free: 86.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.8617, allocations: 1.726 MB / 0.7237 GB, free: 84.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003465/0.8621, allocations: 476.5 kB / 0.7241 GB, free: 83.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.8624, allocations: 191.9 kB / 0.7243 GB, free: 83.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.8657, allocations: 2.138 MB / 0.7264 GB, free: 81.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.8657, allocations: 0 / 0.7264 GB, free: 81.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.866, allocations: 75.98 kB / 0.7264 GB, free: 81.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.22e-05/0.866, allocations: 44 kB / 0.7265 GB, free: 81.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002899/0.8689, allocations: 1.963 MB / 0.7284 GB, free: 79.38 MB / 490.7 MB 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.01252/0.8814, allocations: 8.902 MB / 0.7371 GB, free: 70.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008319/0.8898, allocations: 4.586 MB / 0.7416 GB, free: 65.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.8914, allocations: 1.308 MB / 0.7429 GB, free: 63.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.8916, allocations: 37.97 kB / 0.7429 GB, free: 63.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002021/0.8936, allocations: 1.545 MB / 0.7444 GB, free: 62.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=236): time 4.449e-06/0.8936, allocations: 0 / 0.7444 GB, free: 62.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.01985/0.9135, allocations: 7.369 MB / 0.7516 GB, free: 54.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.9136, allocations: 239.7 kB / 0.7518 GB, free: 54.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.9162, allocations: 2.033 MB / 0.7538 GB, free: 52.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.9164, allocations: 73.69 kB / 0.7539 GB, free: 52.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005971/0.917, allocations: 1.142 MB / 0.755 GB, free: 51.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/0.9176, allocations: 0.8241 MB / 0.7558 GB, free: 50.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.9178, allocations: 44 kB / 0.7558 GB, free: 50.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.9179, allocations: 398.9 kB / 0.7562 GB, free: 50.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.9195, allocations: 1.052 MB / 0.7573 GB, free: 49.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.9212, allocations: 1.331 MB / 0.7586 GB, free: 47.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.923, allocations: 1.34 MB / 0.7599 GB, free: 46.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.923, allocations: 0 / 0.7599 GB, free: 46.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01721/0.9402, allocations: 6.793 MB / 0.7665 GB, free: 39.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.9403, allocations: 170.2 kB / 0.7667 GB, free: 39.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.9403, allocations: 4 kB / 0.7667 GB, free: 39.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009568/0.9499, allocations: 2.797 MB / 0.7694 GB, free: 36.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/0.9525, allocations: 467.4 kB / 0.7698 GB, free: 35.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/0.9764, allocations: 16.66 MB / 0.7861 GB, free: 18.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/0.9799, allocations: 409.9 kB / 0.7865 GB, free: 18.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/0.9803, allocations: 83.97 kB / 0.7866 GB, free: 18.04 MB / 490.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005499/0.9808, allocations: 341.3 kB / 0.7869 GB, free: 17.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005887/0.9814, allocations: 304.2 kB / 0.7872 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02039/1.002, allocations: 7.615 MB / 0.7946 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.002, allocations: 24 kB / 0.7947 GB, free: 9.695 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/1.002, allocations: 4 kB / 0.7947 GB, free: 9.691 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-05/1.002, allocations: 11.95 kB / 0.7947 GB, free: 9.68 MB / 490.7 MB 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.02477/1.027, allocations: 11.56 MB / 0.806 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.027, allocations: 8.094 kB / 0.806 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/1.028, allocations: 227.7 kB / 0.8062 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01079/1.039, allocations: 3.265 MB / 0.8094 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004869/1.04, allocations: 59.92 kB / 0.8094 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03171/1.071, allocations: 17.37 MB / 0.8264 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.071, allocations: 4 kB / 0.8264 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02599/1.097, allocations: 9.296 MB / 0.8355 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/1.099, allocations: 456.6 kB / 0.8359 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000569/1.099, allocations: 48 kB / 0.836 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/1.102, allocations: 275.8 kB / 0.8362 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/1.103, allocations: 378.1 kB / 0.8366 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.103, allocations: 63.98 kB / 0.8366 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002386/1.105, allocations: 1.552 MB / 0.8382 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.105, allocations: 0 / 0.8382 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00284/1.108, allocations: 0.9481 MB / 0.8391 GB, free: 11.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004059/1.109, allocations: 197.2 kB / 0.8393 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.119, allocations: 4.992 MB / 0.8442 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.119, allocations: 0 / 0.8442 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00844/1.127, allocations: 3.481 MB / 0.8476 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/1.129, allocations: 254.7 kB / 0.8478 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00782/1.137, allocations: 4.355 MB / 0.852 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/1.138, allocations: 1.838 MB / 0.8538 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001097/1.139, allocations: 215.7 kB / 0.854 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/1.14, allocations: 135.4 kB / 0.8542 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of SimCode: time 8.52e-07/1.14, allocations: 3.938 kB / 0.8542 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of Templates: time 0.3262/1.466, allocations: 48.18 MB / 0.9012 GB, free: 171.6 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)