Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 175.7 kB / 7.648 MB, free: 1.402 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.379/1.379, allocations: 221.5 MB / 229.6 MB, free: 7.555 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.0008124/0.0008126, allocations: 90.77 kB / 280.5 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4569/0.4569, allocations: 78.06 MB / 409.3 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.326e-05, allocations: 0 / 484.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1544, allocations: 69.36 MB / 0.5413 GB, free: 6.773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.6134, allocations: 102.4 MB / 0.6413 GB, free: 13.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.6137, allocations: 83.95 kB / 0.6414 GB, free: 13.02 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2255/0.8392, allocations: 83.27 MB / 0.7227 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.886e-06/0.8393, allocations: 0 / 0.7227 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003504/0.8396, allocations: 56 kB / 0.7227 GB, free: 9.402 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01114/0.8508, allocations: 3.37 MB / 0.726 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.8509, allocations: 8.031 kB / 0.726 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008082/0.8589, allocations: 1.182 MB / 0.7272 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.8653, allocations: 1.749 MB / 0.7289 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006164/0.866, allocations: 400.6 kB / 0.7293 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.867, allocations: 119.9 kB / 0.7294 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004929/0.872, allocations: 1.89 MB / 0.7312 GB, free: 484 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0056/0.8776, allocations: 1.921 MB / 0.7331 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.908e-05/0.8777, allocations: 4 kB / 0.7331 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003472/0.8781, allocations: 0 / 0.7331 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.22e-05/0.8781, allocations: 47.95 kB / 0.7331 GB, free: 14.48 MB / 0.5417 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.02062/0.8987, allocations: 8.758 MB / 0.7417 GB, free: 5.395 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.9091, allocations: 4.52 MB / 0.7461 GB, free: 0.625 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/0.912, allocations: 1.276 MB / 0.7474 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004193/0.9124, allocations: 37.88 kB / 0.7474 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004706/0.9172, allocations: 1.507 MB / 0.7489 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 3.169e-05/0.9172, allocations: 0 / 0.7489 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.02428/0.9415, allocations: 7.204 MB / 0.7559 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.9417, allocations: 235.6 kB / 0.7561 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005178/0.9469, allocations: 1.875 MB / 0.758 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007888/0.9478, allocations: 29.7 kB / 0.758 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001323/0.9491, allocations: 1.15 MB / 0.7591 GB, free: 3.176 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001734/0.9508, allocations: 0.8043 MB / 0.7599 GB, free: 2.359 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/0.9515, allocations: 7.938 kB / 0.7599 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003033/0.9518, allocations: 399 kB / 0.7603 GB, free: 1.957 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/0.9544, allocations: 1.032 MB / 0.7613 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4146/1.369, allocations: 1.281 MB / 0.7625 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002804/1.372, allocations: 1.16 MB / 0.7637 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/1.372, allocations: 3.5 kB / 0.7637 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02101/1.393, allocations: 6.475 MB / 0.77 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001318/1.393, allocations: 169.4 kB / 0.7702 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/1.393, allocations: 8.469 kB / 0.7702 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/1.403, allocations: 2.702 MB / 0.7728 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/1.406, allocations: 489.5 kB / 0.7733 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02931/1.436, allocations: 16.11 MB / 0.789 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/1.44, allocations: 363.9 kB / 0.7894 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007002/1.44, allocations: 91.95 kB / 0.7894 GB, free: 111.7 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 (243): * Single equations (assignments): 230 * 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.001268/1.442, allocations: 251.4 kB / 0.7897 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/1.443, allocations: 294.7 kB / 0.79 GB, free: 111.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02266/1.466, allocations: 7.39 MB / 0.7972 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/1.466, allocations: 24.41 kB / 0.7972 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.466, allocations: 1.906 kB / 0.7972 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.149e-05/1.466, allocations: 14.16 kB / 0.7972 GB, free: 111.1 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.03373/1.499, allocations: 11.15 MB / 0.8081 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.241e-05/1.5, allocations: 5.188 kB / 0.8081 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.502, allocations: 246 kB / 0.8083 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01225/1.514, allocations: 3.233 MB / 0.8115 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007205/1.515, allocations: 24.19 kB / 0.8115 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03165/1.546, allocations: 16.99 MB / 0.8281 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.546, allocations: 0 / 0.8281 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/1.57, allocations: 9.08 MB / 0.837 GB, free: 98.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.571, allocations: 445.2 kB / 0.8374 GB, free: 98.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007393/1.572, allocations: 15.83 kB / 0.8374 GB, free: 98.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/1.575, allocations: 243 kB / 0.8377 GB, free: 98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/1.576, allocations: 382.2 kB / 0.838 GB, free: 97.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.576, allocations: 66 kB / 0.8381 GB, free: 97.93 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001991/1.578, allocations: 1.39 MB / 0.8394 GB, free: 97.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.71e-07/1.578, allocations: 4 kB / 0.8395 GB, free: 97.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003566/1.582, allocations: 0.8649 MB / 0.8403 GB, free: 97.28 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 (148): * Single equations (assignments): 141 * 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.0004139/1.582, allocations: 157.1 kB / 0.8404 GB, free: 97.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009362/1.591, allocations: 4.868 MB / 0.8452 GB, free: 94.71 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/1.591, allocations: 2.812 kB / 0.8452 GB, free: 94.71 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008028/1.599, allocations: 3.389 MB / 0.8485 GB, free: 93.13 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/1.602, allocations: 214.8 kB / 0.8487 GB, free: 93.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00975/1.612, allocations: 4.287 MB / 0.8529 GB, free: 90.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001953/1.614, allocations: 1.84 MB / 0.8547 GB, free: 90.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001639/1.615, allocations: 221.8 kB / 0.8549 GB, free: 90.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005578/1.616, allocations: 139.4 kB / 0.855 GB, free: 90.14 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/1.616, allocations: 0.8438 kB / 0.855 GB, free: 90.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.06852/1.685, allocations: 44.75 MB / 0.8988 GB, free: 66.82 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)