Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001414/0.001414, allocations: 180.9 kB / 7.651 MB, free: 1.422 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.28/1.28, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009034/0.0009034, allocations: 95.83 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.426/0.426, allocations: 78.12 MB / 409.4 MB, free: 6.531 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.257e-05/1.259e-05, allocations: 7.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 69.36 MB / 0.5413 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4615, allocations: 101.6 MB / 0.6405 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.4618, allocations: 76.48 kB / 0.6406 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1887/0.6504, allocations: 70.47 MB / 0.7094 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6505, allocations: 0 / 0.7094 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003489/0.6508, allocations: 56 kB / 0.7095 GB, free: 7.383 MB / 0.5105 GB 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.009759/0.6606, allocations: 3.339 MB / 0.7127 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6607, allocations: 16.03 kB / 0.7127 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007126/0.6678, allocations: 1.171 MB / 0.7139 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/0.6718, allocations: 1.741 MB / 0.7156 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004778/0.6723, allocations: 404.6 kB / 0.716 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006492/0.673, allocations: 115.9 kB / 0.7161 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004028/0.6771, allocations: 1.866 MB / 0.7179 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.6811, allocations: 1.881 MB / 0.7197 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.6812, allocations: 3.938 kB / 0.7197 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/0.6814, allocations: 0.75 kB / 0.7197 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.6814, allocations: 51.94 kB / 0.7198 GB, free: 12.55 MB / 0.5261 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.01598/0.6974, allocations: 8.599 MB / 0.7282 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009104/0.7066, allocations: 4.482 MB / 0.7326 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.7085, allocations: 1.241 MB / 0.7338 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.7087, allocations: 37.97 kB / 0.7338 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002372/0.7111, allocations: 1.475 MB / 0.7353 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=236): time 4.248e-06/0.7111, allocations: 0 / 0.7353 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.02132/0.7324, allocations: 7.115 MB / 0.7422 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.7325, allocations: 231.6 kB / 0.7424 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/0.7358, allocations: 1.867 MB / 0.7442 GB, free: 2.832 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003291/0.7361, allocations: 25.7 kB / 0.7443 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009511/0.7371, allocations: 1.15 MB / 0.7454 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009351/0.738, allocations: 0.789 MB / 0.7462 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.7383, allocations: 0 / 0.7462 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.7385, allocations: 398.9 kB / 0.7465 GB, free: 456 kB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.7402, allocations: 1.005 MB / 0.7475 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.7421, allocations: 1.259 MB / 0.7488 GB, free: 14.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.744, allocations: 1.138 MB / 0.7499 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.744, allocations: 0 / 0.7499 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01777/0.7617, allocations: 6.408 MB / 0.7561 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.7619, allocations: 178.2 kB / 0.7563 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.7619, allocations: 4.562 kB / 0.7563 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009906/0.7718, allocations: 2.707 MB / 0.7589 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.7745, allocations: 472 kB / 0.7594 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2711/1.046, allocations: 16.1 MB / 0.7751 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/1.049, allocations: 355 kB / 0.7755 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/1.049, allocations: 90.06 kB / 0.7755 GB, free: 113.3 MB / 0.5573 GB 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.0005319/1.05, allocations: 248.5 kB / 0.7758 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/1.05, allocations: 296.2 kB / 0.7761 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/1.07, allocations: 7.308 MB / 0.7832 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/1.07, allocations: 28.73 kB / 0.7832 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.07, allocations: 0.625 kB / 0.7832 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.735e-05/1.07, allocations: 16.38 kB / 0.7832 GB, free: 112.7 MB / 0.5573 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.02468/1.095, allocations: 11.04 MB / 0.794 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.095, allocations: 4.938 kB / 0.794 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/1.097, allocations: 227 kB / 0.7942 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/1.108, allocations: 3.232 MB / 0.7974 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00051/1.108, allocations: 26.45 kB / 0.7974 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03235/1.141, allocations: 16.98 MB / 0.814 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.141, allocations: 2 kB / 0.814 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/1.166, allocations: 9.005 MB / 0.8228 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.167, allocations: 440.2 kB / 0.8232 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/1.169, allocations: 11.42 kB / 0.8232 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003484/1.172, allocations: 241.7 kB / 0.8235 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001749/1.174, allocations: 380.7 kB / 0.8238 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004223/1.174, allocations: 61.45 kB / 0.8239 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002393/1.177, allocations: 1.383 MB / 0.8252 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.51e-07/1.177, allocations: 0 / 0.8252 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003418/1.18, allocations: 0.8507 MB / 0.8261 GB, free: 101.9 MB / 0.5573 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.0003891/1.181, allocations: 160.2 kB / 0.8262 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008813/1.189, allocations: 4.799 MB / 0.8309 GB, free: 99.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.189, allocations: 0 / 0.8309 GB, free: 99.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00719/1.197, allocations: 3.351 MB / 0.8342 GB, free: 97.78 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/1.198, allocations: 216.2 kB / 0.8344 GB, free: 97.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006664/1.205, allocations: 4.244 MB / 0.8385 GB, free: 95.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009699/1.206, allocations: 1.832 MB / 0.8403 GB, free: 94.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009811/1.207, allocations: 222.3 kB / 0.8405 GB, free: 94.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004905/1.207, allocations: 135.6 kB / 0.8407 GB, free: 94.82 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/1.207, allocations: 0 / 0.8407 GB, free: 94.82 MB / 0.5573 GB Notification: Performance of Templates: time 0.05754/1.265, allocations: 44.34 MB / 0.884 GB, free: 81.39 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)