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.00493/0.004931, allocations: 171.1 kB / 15.11 MB, free: 5.992 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.148/1.148, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008103/0.0008103, allocations: 106.7 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4121/0.4121, allocations: 78.51 MB / 419.8 MB, free: 44.08 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 12 kB / 499.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 69.35 MB / 0.5557 GB, free: 38.7 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.3914, allocations: 103.1 MB / 0.6564 GB, free: 3.273 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3917, allocations: 79.95 kB / 0.6565 GB, free: 3.195 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2026/0.5944, allocations: 84.3 MB / 0.7388 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5944, allocations: 0 / 0.7388 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000168/0.5946, allocations: 63.88 kB / 0.7389 GB, free: 14.18 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.009072/0.6036, allocations: 4.074 MB / 0.7429 GB, free: 10 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.6037, allocations: 15.97 kB / 0.7429 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/0.6097, allocations: 1.202 MB / 0.7441 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.613, allocations: 1.831 MB / 0.7458 GB, free: 6.887 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004046/0.6134, allocations: 472.5 kB / 0.7463 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003101/0.6137, allocations: 191.9 kB / 0.7465 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004242/0.618, allocations: 2.494 MB / 0.7489 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.618, allocations: 0 / 0.7489 GB, free: 3.656 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/0.6182, allocations: 76 kB / 0.749 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.6183, allocations: 47.95 kB / 0.749 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/0.6224, allocations: 2.337 MB / 0.7513 GB, free: 1.195 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.01385/0.6363, allocations: 9.077 MB / 0.7602 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009736/0.646, allocations: 4.957 MB / 0.765 GB, free: 2.566 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.6463, allocations: 41.92 kB / 0.7651 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003121/0.6494, allocations: 1.88 MB / 0.7669 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 3.757e-06/0.6494, allocations: 0 / 0.7669 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.2632/0.9126, allocations: 17.55 MB / 0.784 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.9127, allocations: 243.5 kB / 0.7843 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.9159, allocations: 2.147 MB / 0.7864 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/0.9163, allocations: 66.27 kB / 0.7864 GB, free: 118 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006167/0.9169, allocations: 1.152 MB / 0.7876 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006117/0.9176, allocations: 0.836 MB / 0.7884 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.9177, allocations: 48.06 kB / 0.7884 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.9178, allocations: 398.5 kB / 0.7888 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002295/0.9201, allocations: 1.394 MB / 0.7902 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.9225, allocations: 1.654 MB / 0.7918 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.9249, allocations: 1.671 MB / 0.7934 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.925, allocations: 0 / 0.7934 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01888/0.9438, allocations: 7.728 MB / 0.801 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.857e-05/0.9439, allocations: 174 kB / 0.8011 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.9439, allocations: 6.156 kB / 0.8011 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01115/0.9551, allocations: 3.325 MB / 0.8044 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/0.9577, allocations: 486.7 kB / 0.8048 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03162/0.9893, allocations: 20.06 MB / 0.8244 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003275/0.9926, allocations: 415.4 kB / 0.8248 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.9928, allocations: 86.05 kB / 0.8249 GB, free: 107.5 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.001087/0.9939, allocations: 0.5835 MB / 0.8255 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.9943, allocations: 309.6 kB / 0.8258 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/1.015, allocations: 8.572 MB / 0.8341 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.015, allocations: 28.5 kB / 0.8342 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.015, allocations: 3.906 kB / 0.8342 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/1.015, allocations: 11.11 kB / 0.8342 GB, free: 104.7 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.02379/1.039, allocations: 12.53 MB / 0.8464 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.039, allocations: 3 kB / 0.8464 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.04, allocations: 251 kB / 0.8467 GB, free: 100.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/1.05, allocations: 3.81 MB / 0.8504 GB, free: 99.64 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/1.051, allocations: 58.48 kB / 0.8504 GB, free: 99.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03359/1.084, allocations: 21.22 MB / 0.8712 GB, free: 86.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.084, allocations: 4 kB / 0.8712 GB, free: 86.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02341/1.108, allocations: 10.56 MB / 0.8815 GB, free: 77.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/1.108, allocations: 449.5 kB / 0.8819 GB, free: 77.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/1.109, allocations: 59.19 kB / 0.882 GB, free: 77.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.111, allocations: 276 kB / 0.8822 GB, free: 76.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009841/1.112, allocations: 384.7 kB / 0.8826 GB, free: 76.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.112, allocations: 63.23 kB / 0.8827 GB, free: 76.71 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002093/1.114, allocations: 1.658 MB / 0.8843 GB, free: 75.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.114, allocations: 0 / 0.8843 GB, free: 75.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002213/1.116, allocations: 0.9718 MB / 0.8852 GB, free: 74.38 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.0003142/1.117, allocations: 205.4 kB / 0.8854 GB, free: 74.19 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009458/1.126, allocations: 5.705 MB / 0.891 GB, free: 68.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.126, allocations: 0 / 0.891 GB, free: 68.94 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007703/1.134, allocations: 3.862 MB / 0.8948 GB, free: 65.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/1.136, allocations: 254.6 kB / 0.895 GB, free: 65.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007649/1.143, allocations: 6.461 MB / 0.9013 GB, free: 59.31 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009044/1.144, allocations: 1.843 MB / 0.9031 GB, free: 57.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001014/1.145, allocations: 233.2 kB / 0.9033 GB, free: 57.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/1.146, allocations: 138.8 kB / 0.9035 GB, free: 57.59 MB / 0.5573 GB Notification: Performance of SimCode: time 9.11e-07/1.146, allocations: 0 / 0.9035 GB, free: 57.59 MB / 0.5573 GB Notification: Performance of Templates: time 0.05639/1.202, allocations: 48.45 MB / 0.9508 GB, free: 14.52 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)