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: "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.Tutorial.Example_3.Example_3,fileNamePrefix="OpenIPSL_release_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.008778/0.008778, allocations: 172 kB / 15.11 MB, free: 5.969 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.493/1.493, allocations: 223.2 MB / 239 MB, free: 1.805 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.00108/0.00108, allocations: 91.38 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5158/0.5158, allocations: 78.59 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00054/0.00054, allocations: 8 kB / 499.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4491, allocations: 69.35 MB / 0.5559 GB, free: 38.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.5912, allocations: 103.1 MB / 0.6566 GB, free: 3.363 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.5915, allocations: 84.72 kB / 0.6566 GB, free: 3.281 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2208/0.8123, allocations: 84.32 MB / 0.739 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.776e-06/0.8124, allocations: 0 / 0.739 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004365/0.8128, allocations: 55.94 kB / 0.739 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.01424/0.8271, allocations: 4.078 MB / 0.743 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.8271, allocations: 8.031 kB / 0.743 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001168/0.8283, allocations: 265.7 kB / 0.7433 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007926/0.8363, allocations: 1.194 MB / 0.7445 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006031/0.8423, allocations: 1.831 MB / 0.7462 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006076/0.843, allocations: 472.5 kB / 0.7467 GB, free: 6.172 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009317/0.8439, allocations: 191.9 kB / 0.7469 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007394/0.8513, allocations: 2.494 MB / 0.7493 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-05/0.8514, allocations: 4 kB / 0.7493 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004816/0.8519, allocations: 83.88 kB / 0.7494 GB, free: 3.379 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.852, allocations: 44 kB / 0.7494 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005487/0.8575, allocations: 2.337 MB / 0.7517 GB, free: 0.9961 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.02068/0.8782, allocations: 9.081 MB / 0.7606 GB, free: 7.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01161/0.8898, allocations: 4.961 MB / 0.7654 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.8902, allocations: 45.89 kB / 0.7655 GB, free: 2.324 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004809/0.8951, allocations: 1.878 MB / 0.7673 GB, free: 436 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 5.851e-06/0.8951, allocations: 0 / 0.7673 GB, free: 436 kB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.3289/1.224, allocations: 17.55 MB / 0.7844 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/1.224, allocations: 247.2 kB / 0.7847 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00402/1.228, allocations: 2.145 MB / 0.7868 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006076/1.229, allocations: 64.8 kB / 0.7868 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008286/1.23, allocations: 1.152 MB / 0.788 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.231, allocations: 0.834 MB / 0.7888 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/1.231, allocations: 50.5 kB / 0.7888 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.231, allocations: 398.7 kB / 0.7892 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/1.234, allocations: 1.389 MB / 0.7906 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/1.237, allocations: 1.66 MB / 0.7922 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/1.24, allocations: 1.671 MB / 0.7938 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.24, allocations: 0 / 0.7938 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02131/1.261, allocations: 7.731 MB / 0.8014 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/1.261, allocations: 171 kB / 0.8015 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/1.261, allocations: 5.5 kB / 0.8015 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0124/1.273, allocations: 3.325 MB / 0.8048 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002919/1.276, allocations: 490.3 kB / 0.8052 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03546/1.312, allocations: 20.05 MB / 0.8248 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003814/1.316, allocations: 409.2 kB / 0.8252 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004889/1.316, allocations: 89.45 kB / 0.8253 GB, free: 107.6 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.001508/1.318, allocations: 0.591 MB / 0.8259 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008323/1.319, allocations: 304.5 kB / 0.8262 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0226/1.341, allocations: 8.578 MB / 0.8345 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/1.341, allocations: 27.25 kB / 0.8346 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.341, allocations: 0 / 0.8346 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-05/1.341, allocations: 10.88 kB / 0.8346 GB, free: 104.8 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.02747/1.369, allocations: 12.54 MB / 0.8468 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.369, allocations: 3.5 kB / 0.8468 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.37, allocations: 239.1 kB / 0.8471 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01176/1.382, allocations: 3.823 MB / 0.8508 GB, free: 99.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005733/1.383, allocations: 49.5 kB / 0.8508 GB, free: 99.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03794/1.421, allocations: 21.23 MB / 0.8716 GB, free: 86.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.421, allocations: 0 / 0.8716 GB, free: 86.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02656/1.447, allocations: 10.55 MB / 0.8819 GB, free: 77.48 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.449, allocations: 453.9 kB / 0.8823 GB, free: 77.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006152/1.449, allocations: 55.61 kB / 0.8824 GB, free: 77.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.452, allocations: 286.5 kB / 0.8826 GB, free: 76.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/1.453, allocations: 381.8 kB / 0.883 GB, free: 76.59 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.453, allocations: 63.66 kB / 0.8831 GB, free: 76.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002683/1.456, allocations: 1.652 MB / 0.8847 GB, free: 75.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.456, allocations: 0 / 0.8847 GB, free: 75.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003298/1.459, allocations: 0.9772 MB / 0.8856 GB, free: 74.2 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.02526/1.485, allocations: 11.4 MB / 0.8968 GB, free: 64.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.495, allocations: 5.708 MB / 0.9023 GB, free: 59.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.495, allocations: 0 / 0.9023 GB, free: 59.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007977/1.503, allocations: 3.864 MB / 0.9061 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.506, allocations: 257.5 kB / 0.9064 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/1.518, allocations: 11.07 MB / 0.9172 GB, free: 44.94 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.519, allocations: 1.848 MB / 0.919 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001167/1.52, allocations: 229 kB / 0.9192 GB, free: 43.34 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001393/1.521, allocations: 1.179 MB / 0.9203 GB, free: 42.26 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/1.521, allocations: 0 / 0.9203 GB, free: 42.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/1.628, allocations: 71.92 MB / 0.9906 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/1.628, allocations: 206.4 kB / 0.9908 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.796/6.424, allocations: 0 / 0.9908 GB, free: 5.809 MB / 0.5886 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_Tutorial_Example_3_Example_3.fmu > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)