Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_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_release_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.005208/0.005208, allocations: 173.8 kB / 15.12 MB, free: 5.973 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.406/1.406, allocations: 223.2 MB / 239 MB, free: 1.766 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.0009598/0.0009596, allocations: 95.02 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5143/0.5143, allocations: 78.58 MB / 419.9 MB, free: 44.24 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 12 kB / 499.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4802, allocations: 69.35 MB / 0.5558 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.633, allocations: 103.1 MB / 0.6565 GB, free: 3.352 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.6333, allocations: 79.95 kB / 0.6566 GB, free: 3.273 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2264/0.8597, allocations: 84.3 MB / 0.7389 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.777e-06/0.8598, allocations: 0 / 0.7389 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004687/0.8603, allocations: 59.94 kB / 0.7389 GB, free: 14.25 MB / 0.5417 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.01641/0.8767, allocations: 4.074 MB / 0.7429 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.8768, allocations: 12.03 kB / 0.7429 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008416/0.8852, allocations: 1.194 MB / 0.7441 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/0.8917, allocations: 1.839 MB / 0.7459 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006972/0.8925, allocations: 472.6 kB / 0.7463 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.8935, allocations: 191.9 kB / 0.7465 GB, free: 6.254 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008446/0.902, allocations: 2.49 MB / 0.749 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.86e-05/0.9021, allocations: 7.938 kB / 0.749 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005984/0.9027, allocations: 76 kB / 0.749 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.9028, allocations: 47.95 kB / 0.7491 GB, free: 3.609 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005946/0.9087, allocations: 2.329 MB / 0.7514 GB, free: 1.277 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02077/0.9295, allocations: 9.077 MB / 0.7602 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.9408, allocations: 4.965 MB / 0.7651 GB, free: 2.648 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.9412, allocations: 33.97 kB / 0.7651 GB, free: 2.617 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004054/0.9453, allocations: 1.888 MB / 0.767 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 4.057e-06/0.9453, allocations: 0 / 0.767 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.3919/1.337, allocations: 17.55 MB / 0.7841 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.337, allocations: 238.1 kB / 0.7843 GB, free: 118 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004425/1.342, allocations: 2.148 MB / 0.7864 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007774/1.343, allocations: 68.55 kB / 0.7865 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/1.343, allocations: 1.146 MB / 0.7876 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.345, allocations: 0.8384 MB / 0.7884 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/1.345, allocations: 53.25 kB / 0.7885 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.345, allocations: 399.1 kB / 0.7889 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/1.348, allocations: 1.394 MB / 0.7902 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/1.35, allocations: 1.653 MB / 0.7918 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002997/1.353, allocations: 1.673 MB / 0.7935 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.354, allocations: 0 / 0.7935 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02274/1.376, allocations: 7.723 MB / 0.801 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/1.376, allocations: 175 kB / 0.8012 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.376, allocations: 6.781 kB / 0.8012 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/1.389, allocations: 3.323 MB / 0.8044 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/1.393, allocations: 487.3 kB / 0.8049 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03688/1.43, allocations: 20.06 MB / 0.8245 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.434, allocations: 411.2 kB / 0.8249 GB, free: 107.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006406/1.435, allocations: 88.38 kB / 0.8249 GB, free: 107.3 MB / 0.5573 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" fixed = true ) "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 () * Number of clocked 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.001729/1.437, allocations: 0.5869 MB / 0.8255 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009497/1.438, allocations: 306.7 kB / 0.8258 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02212/1.46, allocations: 8.576 MB / 0.8342 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/1.46, allocations: 26.97 kB / 0.8342 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/1.46, allocations: 3.844 kB / 0.8342 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.627e-05/1.46, allocations: 15.84 kB / 0.8342 GB, free: 104.5 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02851/1.488, allocations: 12.54 MB / 0.8465 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/1.488, allocations: 3.938 kB / 0.8465 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/1.49, allocations: 242.4 kB / 0.8467 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01179/1.502, allocations: 3.816 MB / 0.8504 GB, free: 99.41 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000719/1.503, allocations: 55.03 kB / 0.8505 GB, free: 99.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03991/1.543, allocations: 21.22 MB / 0.8712 GB, free: 86.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.543, allocations: 4 kB / 0.8712 GB, free: 86.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02747/1.57, allocations: 10.56 MB / 0.8815 GB, free: 77.35 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.572, allocations: 448.2 kB / 0.882 GB, free: 76.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.573, allocations: 59.23 kB / 0.882 GB, free: 76.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/1.576, allocations: 276.2 kB / 0.8823 GB, free: 76.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.577, allocations: 381.8 kB / 0.8826 GB, free: 76.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.577, allocations: 67.94 kB / 0.8827 GB, free: 76.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00296/1.58, allocations: 1.658 MB / 0.8843 GB, free: 75.02 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/1.58, allocations: 0 / 0.8843 GB, free: 75.02 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004404/1.585, allocations: 0.9716 MB / 0.8853 GB, free: 74.08 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 () * Number of clocked 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.0005693/1.585, allocations: 209.4 kB / 0.8855 GB, free: 73.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.597, allocations: 5.704 MB / 0.891 GB, free: 68.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.597, allocations: 0 / 0.891 GB, free: 68.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009536/1.607, allocations: 3.864 MB / 0.8948 GB, free: 65.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.61, allocations: 252.1 kB / 0.8951 GB, free: 64.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/1.62, allocations: 6.459 MB / 0.9014 GB, free: 59.01 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/1.621, allocations: 1.845 MB / 0.9032 GB, free: 57.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001618/1.623, allocations: 226.1 kB / 0.9034 GB, free: 57.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/1.624, allocations: 142.1 kB / 0.9035 GB, free: 57.29 MB / 0.5573 GB Notification: Performance of SimCode: time 2.144e-06/1.624, allocations: 0 / 0.9035 GB, free: 57.29 MB / 0.5573 GB Notification: Performance of Templates: time 0.07504/1.699, allocations: 48.45 MB / 0.9508 GB, free: 13.95 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)