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.008234/0.008234, allocations: 171 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.471/1.471, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009407/0.0009407, allocations: 105.1 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4913/0.4913, allocations: 78.52 MB / 419.8 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003792, allocations: 8 kB / 499.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4267, allocations: 69.35 MB / 0.5558 GB, free: 39.02 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.5639, allocations: 103.1 MB / 0.6565 GB, free: 3.219 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5642, allocations: 83.95 kB / 0.6566 GB, free: 3.137 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2212/0.7854, allocations: 84.32 MB / 0.7389 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7855, allocations: 0 / 0.7389 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002095/0.7857, allocations: 59.94 kB / 0.739 GB, free: 14.11 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.01331/0.799, allocations: 4.074 MB / 0.743 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.7991, allocations: 12.03 kB / 0.743 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001079/0.8001, allocations: 265.7 kB / 0.7432 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007303/0.8075, allocations: 1.186 MB / 0.7444 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/0.8123, allocations: 1.835 MB / 0.7462 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004614/0.8128, allocations: 480.5 kB / 0.7466 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004866/0.8133, allocations: 188 kB / 0.7468 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00489/0.8182, allocations: 2.49 MB / 0.7493 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-05/0.8183, allocations: 4 kB / 0.7493 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/0.8185, allocations: 79.92 kB / 0.7493 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.8186, allocations: 44 kB / 0.7494 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004603/0.8232, allocations: 2.337 MB / 0.7517 GB, free: 0.8633 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.01769/0.8409, allocations: 9.081 MB / 0.7605 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.8523, allocations: 4.961 MB / 0.7654 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004709/0.8528, allocations: 45.91 kB / 0.7654 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004201/0.857, allocations: 1.88 MB / 0.7672 GB, free: 288 kB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 4.93e-06/0.8571, allocations: 3.938 kB / 0.7673 GB, free: 284 kB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.4104/1.267, allocations: 17.54 MB / 0.7844 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/1.268, allocations: 242.8 kB / 0.7846 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00474/1.272, allocations: 2.145 MB / 0.7867 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008721/1.273, allocations: 68.02 kB / 0.7868 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.274, allocations: 1.15 MB / 0.7879 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001457/1.276, allocations: 0.8374 MB / 0.7887 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/1.276, allocations: 46.19 kB / 0.7888 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.276, allocations: 401 kB / 0.7891 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003076/1.279, allocations: 1.394 MB / 0.7905 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/1.282, allocations: 1.656 MB / 0.7921 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.285, allocations: 1.674 MB / 0.7938 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/1.285, allocations: 3 kB / 0.7938 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.02294/1.308, allocations: 7.728 MB / 0.8013 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.309, allocations: 170.5 kB / 0.8015 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/1.309, allocations: 4.344 kB / 0.8015 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/1.322, allocations: 3.33 MB / 0.8047 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.325, allocations: 483.3 kB / 0.8052 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03794/1.363, allocations: 20.05 MB / 0.8248 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/1.367, allocations: 412.6 kB / 0.8252 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005278/1.367, allocations: 93.52 kB / 0.8252 GB, free: 107.8 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.001583/1.369, allocations: 0.5926 MB / 0.8258 GB, free: 107.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.37, allocations: 304.9 kB / 0.8261 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02551/1.395, allocations: 8.58 MB / 0.8345 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/1.396, allocations: 23.84 kB / 0.8345 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.396, allocations: 0 / 0.8345 GB, free: 105 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.975e-05/1.396, allocations: 14.16 kB / 0.8345 GB, free: 105 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.03007/1.426, allocations: 12.53 MB / 0.8468 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.426, allocations: 0 / 0.8468 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.427, allocations: 244.5 kB / 0.847 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0121/1.44, allocations: 3.819 MB / 0.8507 GB, free: 99.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007564/1.44, allocations: 57.78 kB / 0.8508 GB, free: 99.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04157/1.482, allocations: 21.22 MB / 0.8715 GB, free: 86.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.482, allocations: 4 kB / 0.8715 GB, free: 86.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02949/1.512, allocations: 10.56 MB / 0.8818 GB, free: 77.37 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.513, allocations: 452.8 kB / 0.8823 GB, free: 76.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.515, allocations: 55.95 kB / 0.8823 GB, free: 76.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00403/1.519, allocations: 278.4 kB / 0.8826 GB, free: 76.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002165/1.521, allocations: 382 kB / 0.8829 GB, free: 76.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006321/1.522, allocations: 67.14 kB / 0.883 GB, free: 76.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004336/1.526, allocations: 1.657 MB / 0.8846 GB, free: 75.04 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.52e-07/1.526, allocations: 0 / 0.8846 GB, free: 75.04 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005162/1.531, allocations: 0.9721 MB / 0.8856 GB, free: 74.1 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.0439/1.575, allocations: 11.4 MB / 0.8967 GB, free: 64.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02033/1.596, allocations: 5.71 MB / 0.9023 GB, free: 59.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.596, allocations: 4 kB / 0.9023 GB, free: 59.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01101/1.607, allocations: 3.859 MB / 0.9061 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.61, allocations: 258.6 kB / 0.9063 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01327/1.623, allocations: 11.06 MB / 0.9171 GB, free: 44.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/1.624, allocations: 1.844 MB / 0.9189 GB, free: 43.41 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001254/1.626, allocations: 228.2 kB / 0.9191 GB, free: 43.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.627, allocations: 1.186 MB / 0.9203 GB, free: 42.16 MB / 0.5573 GB Notification: Performance of SimCode: time 2.815e-06/1.627, allocations: 0 / 0.9203 GB, free: 42.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1332/1.76, allocations: 71.91 MB / 0.9905 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/1.76, allocations: 193 kB / 0.9907 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5/6.76, allocations: 0 / 0.9907 GB, free: 5.535 MB / 0.5886 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)