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.001475/0.001475, allocations: 175 kB / 12.73 MB, free: 2.59 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.267/1.267, allocations: 221.4 MB / 234.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007946/0.0007947, allocations: 87.95 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4636/0.4636, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.402e-05, allocations: 4 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3412, allocations: 69.35 MB / 0.548 GB, free: 20.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1212/0.4624, allocations: 103.1 MB / 0.6486 GB, free: 13.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4627, allocations: 75.95 kB / 0.6487 GB, free: 13.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5329/0.9956, allocations: 84.18 MB / 0.7309 GB, free: 77.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.9957, allocations: 3.938 kB / 0.7309 GB, free: 77.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001571/0.9958, allocations: 56 kB / 0.731 GB, free: 77.3 MB / 490.7 MB 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.00759/1.003, allocations: 3.373 MB / 0.7343 GB, free: 73.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.003, allocations: 11.97 kB / 0.7343 GB, free: 73.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00689/1.01, allocations: 1.188 MB / 0.7354 GB, free: 72.63 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/1.014, allocations: 1.753 MB / 0.7372 GB, free: 70.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/1.014, allocations: 468.6 kB / 0.7376 GB, free: 70.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/1.014, allocations: 191.9 kB / 0.7378 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/1.018, allocations: 2.178 MB / 0.7399 GB, free: 67.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/1.018, allocations: 0 / 0.7399 GB, free: 67.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/1.018, allocations: 75.98 kB / 0.74 GB, free: 67.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.392e-05/1.018, allocations: 44 kB / 0.74 GB, free: 67.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/1.021, allocations: 1.99 MB / 0.742 GB, free: 65.8 MB / 490.7 MB 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.015/1.036, allocations: 9.071 MB / 0.7508 GB, free: 56.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008589/1.045, allocations: 4.621 MB / 0.7553 GB, free: 51.51 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/1.047, allocations: 1.343 MB / 0.7567 GB, free: 50.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/1.047, allocations: 37.97 kB / 0.7567 GB, free: 50.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002185/1.049, allocations: 1.575 MB / 0.7582 GB, free: 48.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.258e-06/1.049, allocations: 0 / 0.7582 GB, free: 48.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.0209/1.07, allocations: 7.464 MB / 0.7655 GB, free: 41.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.07, allocations: 251.6 kB / 0.7658 GB, free: 40.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003483/1.074, allocations: 2.033 MB / 0.7677 GB, free: 38.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006346/1.075, allocations: 77.69 kB / 0.7678 GB, free: 38.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007004/1.075, allocations: 1.143 MB / 0.7689 GB, free: 37.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007817/1.076, allocations: 0.8394 MB / 0.7698 GB, free: 36.58 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/1.076, allocations: 52 kB / 0.7698 GB, free: 36.53 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/1.076, allocations: 395 kB / 0.7702 GB, free: 36.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.078, allocations: 1.079 MB / 0.7712 GB, free: 35.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.08, allocations: 1.358 MB / 0.7726 GB, free: 33.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/1.082, allocations: 1.361 MB / 0.7739 GB, free: 32.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.082, allocations: 8 kB / 0.7739 GB, free: 32.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01773/1.1, allocations: 6.857 MB / 0.7806 GB, free: 25.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.1, allocations: 174.2 kB / 0.7808 GB, free: 25.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.1, allocations: 4 kB / 0.7808 GB, free: 25.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009726/1.109, allocations: 2.812 MB / 0.7835 GB, free: 22.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002686/1.112, allocations: 483.3 kB / 0.784 GB, free: 21.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02497/1.137, allocations: 16.68 MB / 0.8003 GB, free: 4.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/1.141, allocations: 413.8 kB / 0.8006 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003765/1.142, allocations: 91.92 kB / 0.8007 GB, free: 3.852 MB / 490.7 MB 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.0005773/1.142, allocations: 343.8 kB / 0.8011 GB, free: 3.492 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/1.143, allocations: 296.3 kB / 0.8013 GB, free: 3.199 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02209/1.165, allocations: 7.705 MB / 0.8089 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.949e-05/1.165, allocations: 24 kB / 0.8089 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.165, allocations: 4 kB / 0.8089 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-05/1.165, allocations: 15.91 kB / 0.8089 GB, free: 11.39 MB / 0.4948 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.02872/1.194, allocations: 11.68 MB / 0.8203 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.508e-05/1.194, allocations: 0 / 0.8203 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/1.196, allocations: 239.7 kB / 0.8205 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01116/1.207, allocations: 3.269 MB / 0.8237 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007651/1.208, allocations: 55.98 kB / 0.8238 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03195/1.24, allocations: 17.37 MB / 0.8408 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/1.24, allocations: 4 kB / 0.8408 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02602/1.266, allocations: 9.39 MB / 0.8499 GB, free: 492 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/1.267, allocations: 456.7 kB / 0.8504 GB, free: 12 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/1.268, allocations: 44.08 kB / 0.8504 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.27, allocations: 279.8 kB / 0.8507 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/1.272, allocations: 386 kB / 0.851 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.272, allocations: 71.98 kB / 0.8511 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002392/1.274, allocations: 1.556 MB / 0.8526 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/1.274, allocations: 0 / 0.8526 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003261/1.278, allocations: 0.9637 MB / 0.8536 GB, free: 12.71 MB / 0.5417 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.0004585/1.278, allocations: 201.1 kB / 0.8538 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.289, allocations: 5.059 MB / 0.8587 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.289, allocations: 0 / 0.8587 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.008636/1.297, allocations: 3.509 MB / 0.8621 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/1.3, allocations: 250.9 kB / 0.8624 GB, free: 3.418 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/1.308, allocations: 4.416 MB / 0.8667 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.309, allocations: 1.846 MB / 0.8685 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001207/1.311, allocations: 228.2 kB / 0.8687 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/1.311, allocations: 139.4 kB / 0.8688 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of SimCode: time 6.32e-07/1.311, allocations: 0 / 0.8688 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of Templates: time 0.4354/1.747, allocations: 48.64 MB / 0.9163 GB, free: 166.1 MB / 0.573 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)