Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses") translateModel(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001015/0.001015, 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.274/1.274, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008053/0.0008053, allocations: 85.73 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4386/0.4386, allocations: 78.94 MB / 410.2 MB, free: 5.98 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.217e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3526/0.4761, allocations: 102.4 MB / 0.6424 GB, free: 11.73 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4764, allocations: 75.95 kB / 0.6425 GB, free: 11.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1802/0.6566, allocations: 72.18 MB / 0.713 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6567, allocations: 0 / 0.713 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001758/0.6569, allocations: 59.94 kB / 0.713 GB, free: 3.25 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.007584/0.6644, allocations: 3.334 MB / 0.7163 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.6645, allocations: 12.03 kB / 0.7163 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/0.6709, allocations: 1.182 MB / 0.7174 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.6738, allocations: 1.726 MB / 0.7191 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/0.6742, allocations: 404.6 kB / 0.7195 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002679/0.6745, allocations: 115.9 kB / 0.7196 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00304/0.6776, allocations: 1.87 MB / 0.7214 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003154/0.6807, allocations: 1.882 MB / 0.7233 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.6808, allocations: 0 / 0.7233 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.681, allocations: 3.984 kB / 0.7233 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.681, allocations: 47.95 kB / 0.7233 GB, free: 8.438 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.01411/0.6951, allocations: 8.669 MB / 0.7318 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008984/0.7041, allocations: 4.469 MB / 0.7362 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.7058, allocations: 1.241 MB / 0.7374 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.706, allocations: 41.83 kB / 0.7374 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002224/0.7083, allocations: 1.454 MB / 0.7388 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=236): time 4.318e-06/0.7083, allocations: 0 / 0.7388 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.02096/0.7292, allocations: 7.102 MB / 0.7458 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.7294, allocations: 243.6 kB / 0.746 GB, free: 0.543 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.7324, allocations: 1.859 MB / 0.7478 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003964/0.7328, allocations: 25.7 kB / 0.7478 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008552/0.7337, allocations: 1.15 MB / 0.749 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008322/0.7345, allocations: 0.789 MB / 0.7497 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.7347, allocations: 0 / 0.7497 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7349, allocations: 394.9 kB / 0.7501 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.7366, allocations: 1.009 MB / 0.7511 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.7384, allocations: 1.259 MB / 0.7523 GB, free: 9.945 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.7402, allocations: 1.136 MB / 0.7534 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.7402, allocations: 4 kB / 0.7534 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01793/0.7581, allocations: 6.4 MB / 0.7597 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.7583, allocations: 174.7 kB / 0.7599 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.7583, allocations: 8 kB / 0.7599 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2807/1.039, allocations: 2.695 MB / 0.7625 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/1.041, allocations: 472.8 kB / 0.7629 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02235/1.064, allocations: 16.1 MB / 0.7787 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003274/1.067, allocations: 366.8 kB / 0.779 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/1.067, allocations: 88.83 kB / 0.7791 GB, free: 110 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.0005324/1.068, allocations: 258.2 kB / 0.7793 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/1.068, allocations: 297.9 kB / 0.7796 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/1.088, allocations: 7.372 MB / 0.7868 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/1.088, allocations: 24.69 kB / 0.7869 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.088, allocations: 1.906 kB / 0.7869 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.987e-05/1.088, allocations: 11.02 kB / 0.7869 GB, free: 109.5 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.02572/1.114, allocations: 11.03 MB / 0.7976 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/1.114, allocations: 0.5625 kB / 0.7976 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.116, allocations: 233 kB / 0.7979 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01077/1.127, allocations: 3.235 MB / 0.801 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003549/1.127, allocations: 24.84 kB / 0.801 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02795/1.155, allocations: 16.98 MB / 0.8176 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.155, allocations: 5.812 kB / 0.8176 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02263/1.178, allocations: 8.952 MB / 0.8264 GB, free: 99.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/1.179, allocations: 442.2 kB / 0.8268 GB, free: 99.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006819/1.179, allocations: 13.44 kB / 0.8268 GB, free: 99.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/1.182, allocations: 248.9 kB / 0.827 GB, free: 99 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/1.183, allocations: 378.9 kB / 0.8274 GB, free: 98.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.183, allocations: 63.44 kB / 0.8275 GB, free: 98.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002265/1.186, allocations: 1.387 MB / 0.8288 GB, free: 98.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.182e-06/1.186, allocations: 0 / 0.8288 GB, free: 98.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003232/1.189, allocations: 0.8592 MB / 0.8297 GB, free: 98.29 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.0004121/1.189, allocations: 159.5 kB / 0.8298 GB, free: 98.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00871/1.198, allocations: 4.794 MB / 0.8345 GB, free: 95.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.198, allocations: 0 / 0.8345 GB, free: 95.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006987/1.205, allocations: 3.351 MB / 0.8378 GB, free: 94.18 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/1.207, allocations: 214.8 kB / 0.838 GB, free: 94.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007875/1.215, allocations: 4.233 MB / 0.8421 GB, free: 92.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/1.216, allocations: 1.839 MB / 0.8439 GB, free: 91.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009822/1.217, allocations: 216.4 kB / 0.8441 GB, free: 91.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/1.218, allocations: 136 kB / 0.8442 GB, free: 91.21 MB / 0.5573 GB Notification: Performance of SimCode: time 8.42e-07/1.218, allocations: 0 / 0.8442 GB, free: 91.21 MB / 0.5573 GB Notification: Performance of Templates: time 0.06229/1.28, allocations: 44.35 MB / 0.8875 GB, free: 77.21 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & ./OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)