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: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 173.1 kB / 12.73 MB, free: 2.586 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.321/1.321, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009789/0.0009791, allocations: 98.17 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4864/0.4864, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.386e-05, allocations: 7.938 kB / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.338, allocations: 69.35 MB / 0.5481 GB, free: 20.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.464, allocations: 103.1 MB / 0.6487 GB, free: 13.31 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4642, allocations: 79.95 kB / 0.6488 GB, free: 13.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5278/0.992, allocations: 84.19 MB / 0.731 GB, free: 77.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.992, allocations: 0 / 0.731 GB, free: 77.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001622/0.9922, allocations: 55.94 kB / 0.731 GB, free: 76.98 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.007882/1, allocations: 3.387 MB / 0.7344 GB, free: 73.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1, allocations: 11.97 kB / 0.7344 GB, free: 73.5 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004802/1.001, allocations: 271.3 kB / 0.7346 GB, free: 73.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006561/1.007, allocations: 1.171 MB / 0.7358 GB, free: 72.05 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/1.011, allocations: 1.757 MB / 0.7375 GB, free: 70.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/1.011, allocations: 472.6 kB / 0.7379 GB, free: 69.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/1.011, allocations: 191.9 kB / 0.7381 GB, free: 69.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/1.015, allocations: 2.178 MB / 0.7402 GB, free: 67.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/1.015, allocations: 0 / 0.7402 GB, free: 67.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/1.015, allocations: 72 kB / 0.7403 GB, free: 67.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/1.015, allocations: 44 kB / 0.7404 GB, free: 67.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002945/1.018, allocations: 1.986 MB / 0.7423 GB, free: 65.21 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.01367/1.032, allocations: 9.075 MB / 0.7512 GB, free: 55.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008312/1.04, allocations: 4.618 MB / 0.7557 GB, free: 50.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/1.042, allocations: 1.347 MB / 0.757 GB, free: 49.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/1.042, allocations: 41.95 kB / 0.757 GB, free: 49.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/1.045, allocations: 1.581 MB / 0.7586 GB, free: 47.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=242): time 4.278e-06/1.045, allocations: 0 / 0.7586 GB, free: 47.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.02036/1.065, allocations: 7.464 MB / 0.7659 GB, free: 40.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/1.065, allocations: 239.5 kB / 0.7661 GB, free: 40.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00295/1.068, allocations: 2.045 MB / 0.7681 GB, free: 38.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005464/1.069, allocations: 65.7 kB / 0.7681 GB, free: 38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/1.069, allocations: 1.15 MB / 0.7693 GB, free: 36.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009482/1.07, allocations: 0.8433 MB / 0.7701 GB, free: 35.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/1.07, allocations: 48 kB / 0.7701 GB, free: 35.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/1.071, allocations: 399 kB / 0.7705 GB, free: 35.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/1.072, allocations: 1.087 MB / 0.7716 GB, free: 34.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/1.074, allocations: 1.346 MB / 0.7729 GB, free: 33.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/1.076, allocations: 1.365 MB / 0.7742 GB, free: 31.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.076, allocations: 7.938 kB / 0.7742 GB, free: 31.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01713/1.093, allocations: 6.852 MB / 0.7809 GB, free: 24.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.773e-05/1.093, allocations: 172.5 kB / 0.7811 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.093, allocations: 4.562 kB / 0.7811 GB, free: 24.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009418/1.102, allocations: 2.804 MB / 0.7838 GB, free: 21.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002642/1.105, allocations: 487.3 kB / 0.7843 GB, free: 21.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/1.129, allocations: 16.68 MB / 0.8006 GB, free: 3.766 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/1.133, allocations: 417.8 kB / 0.801 GB, free: 3.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004911/1.134, allocations: 87.97 kB / 0.8011 GB, free: 3.27 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.0006227/1.135, allocations: 334.9 kB / 0.8014 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007649/1.135, allocations: 296.3 kB / 0.8017 GB, free: 2.629 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0212/1.157, allocations: 7.717 MB / 0.8092 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-05/1.157, allocations: 28 kB / 0.8092 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/1.157, allocations: 3.984 kB / 0.8092 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.542e-05/1.157, allocations: 15.91 kB / 0.8092 GB, free: 10.81 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.02809/1.185, allocations: 11.66 MB / 0.8206 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/1.185, allocations: 0 / 0.8206 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/1.187, allocations: 251.7 kB / 0.8209 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/1.197, allocations: 3.262 MB / 0.8241 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005155/1.198, allocations: 59.98 kB / 0.8241 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03033/1.228, allocations: 17.39 MB / 0.8411 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.228, allocations: 0 / 0.8411 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02458/1.253, allocations: 9.382 MB / 0.8503 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.254, allocations: 452.6 kB / 0.8507 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/1.255, allocations: 48 kB / 0.8507 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.257, allocations: 283.8 kB / 0.851 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/1.258, allocations: 386 kB / 0.8514 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.259, allocations: 67.98 kB / 0.8514 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002325/1.261, allocations: 1.552 MB / 0.853 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/1.261, allocations: 0 / 0.853 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003053/1.264, allocations: 0.9675 MB / 0.8539 GB, free: 12.14 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.02458/1.289, allocations: 10.23 MB / 0.8639 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.299, allocations: 5.051 MB / 0.8688 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.299, allocations: 0 / 0.8688 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008451/1.308, allocations: 3.521 MB / 0.8723 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.31, allocations: 253.4 kB / 0.8725 GB, free: 8.715 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.32, allocations: 4.888 MB / 0.8773 GB, free: 3.773 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/1.321, allocations: 1.842 MB / 0.8791 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001052/1.322, allocations: 232.2 kB / 0.8793 GB, free: 1.668 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.324, allocations: 1.179 MB / 0.8804 GB, free: 500 kB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/1.324, allocations: 0 / 0.8804 GB, free: 500 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3772/1.701, allocations: 73.03 MB / 0.9518 GB, free: 146.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/1.701, allocations: 181.5 kB / 0.9519 GB, free: 146.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/6.173, allocations: 4.062 kB / 0.9519 GB, free: 146.7 MB / 0.573 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)