Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_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_dev_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.00359/0.003591, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.103/1.103, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008217/0.0008218, allocations: 98.14 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.3837/0.3837, allocations: 79.43 MB / 420.8 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 11.98 kB / 0.489 GB, free: 2.062 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2653, allocations: 69.5 MB / 0.5569 GB, free: 38.62 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09641/0.3618, allocations: 103.9 MB / 0.6584 GB, free: 1.676 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.362, allocations: 79.95 kB / 0.6585 GB, free: 1.598 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1995/0.5615, allocations: 86.8 MB / 0.7432 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5615, allocations: 0 / 0.7432 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001512/0.5617, allocations: 56 kB / 0.7433 GB, free: 10.09 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.008653/0.5703, allocations: 4.097 MB / 0.7473 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.5704, allocations: 8.031 kB / 0.7473 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005961/0.5763, allocations: 1.186 MB / 0.7484 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.5793, allocations: 1.831 MB / 0.7502 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/0.5797, allocations: 472.6 kB / 0.7507 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/0.58, allocations: 187.9 kB / 0.7509 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.5839, allocations: 2.494 MB / 0.7533 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.584, allocations: 0 / 0.7533 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.5842, allocations: 83.95 kB / 0.7534 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.5842, allocations: 44 kB / 0.7534 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/0.5881, allocations: 2.329 MB / 0.7557 GB, free: 13.12 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 preOpt removeSimpleEquations (simulation): time 0.01304/0.6011, allocations: 9.148 MB / 0.7646 GB, free: 3.625 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1987/0.7998, allocations: 4.949 MB / 0.7695 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003665/0.8002, allocations: 38.28 kB / 0.7695 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003918/0.8042, allocations: 1.878 MB / 0.7713 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 7.635e-06/0.8042, allocations: 5.312 kB / 0.7713 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.0636/0.8678, allocations: 18.24 MB / 0.7891 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.8679, allocations: 236.7 kB / 0.7894 GB, free: 115 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.8711, allocations: 2.147 MB / 0.7915 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001803/0.8713, allocations: 70.94 kB / 0.7915 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.8719, allocations: 1.153 MB / 0.7927 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/0.8725, allocations: 0.834 MB / 0.7935 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.8726, allocations: 49 kB / 0.7935 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.8727, allocations: 398 kB / 0.7939 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002296/0.875, allocations: 1.385 MB / 0.7953 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/0.8775, allocations: 1.661 MB / 0.7969 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.8802, allocations: 1.669 MB / 0.7985 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.8802, allocations: 1.375 kB / 0.7985 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01921/0.8994, allocations: 7.721 MB / 0.806 GB, free: 112.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.8995, allocations: 170.3 kB / 0.8062 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.8995, allocations: 4.844 kB / 0.8062 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/0.9106, allocations: 3.327 MB / 0.8095 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/0.9128, allocations: 488.5 kB / 0.8099 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02929/0.9421, allocations: 20.05 MB / 0.8295 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.9449, allocations: 419.7 kB / 0.8299 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.9451, allocations: 88.89 kB / 0.83 GB, free: 103.2 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.001004/0.9461, allocations: 0.5959 MB / 0.8306 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.9464, allocations: 303.7 kB / 0.8309 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02043/0.9669, allocations: 8.574 MB / 0.8392 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.9669, allocations: 30.09 kB / 0.8393 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.9669, allocations: 0 / 0.8393 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.9669, allocations: 16.05 kB / 0.8393 GB, free: 100.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.02283/0.9898, allocations: 12.56 MB / 0.8515 GB, free: 96.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.9898, allocations: 0 / 0.8515 GB, free: 96.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.9909, allocations: 245 kB / 0.8518 GB, free: 96.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009807/1.001, allocations: 3.807 MB / 0.8555 GB, free: 95.39 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/1.001, allocations: 57.59 kB / 0.8556 GB, free: 95.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03222/1.033, allocations: 21.23 MB / 0.8763 GB, free: 80.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.033, allocations: 4 kB / 0.8763 GB, free: 80.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/1.055, allocations: 10.58 MB / 0.8866 GB, free: 71.89 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/1.055, allocations: 452.2 kB / 0.8871 GB, free: 71.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003138/1.056, allocations: 48 kB / 0.8871 GB, free: 71.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.058, allocations: 292.8 kB / 0.8874 GB, free: 71.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008279/1.059, allocations: 383.7 kB / 0.8878 GB, free: 71.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.059, allocations: 69.78 kB / 0.8878 GB, free: 70.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001986/1.061, allocations: 1.653 MB / 0.8894 GB, free: 69.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.061, allocations: 0 / 0.8894 GB, free: 69.57 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002067/1.063, allocations: 0.9797 MB / 0.8904 GB, free: 68.62 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.0003047/1.063, allocations: 189.1 kB / 0.8906 GB, free: 68.45 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009052/1.072, allocations: 5.701 MB / 0.8961 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.072, allocations: 3.391 kB / 0.8961 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006787/1.079, allocations: 3.868 MB / 0.8999 GB, free: 59.71 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009684/1.08, allocations: 253.7 kB / 0.9002 GB, free: 59.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006482/1.087, allocations: 6.477 MB / 0.9065 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008216/1.087, allocations: 1.844 MB / 0.9083 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007261/1.088, allocations: 225 kB / 0.9085 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/1.089, allocations: 138.8 kB / 0.9086 GB, free: 51.83 MB / 0.5573 GB Notification: Performance of SimCode: time 2.61e-07/1.089, allocations: 4 kB / 0.9086 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of Templates: time 0.04981/1.138, allocations: 48.46 MB / 0.956 GB, free: 7.719 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)