Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.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.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",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.009207/0.009207, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.351/1.351, allocations: 223.2 MB / 239 MB, free: 1.785 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.00139/0.00139, allocations: 100.4 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4594/0.4594, allocations: 78.52 MB / 419.8 MB, free: 44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003651, allocations: 8 kB / 499.8 MB, free: 2.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4081, allocations: 69.35 MB / 0.5558 GB, free: 38.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.5477, allocations: 102.3 MB / 0.6557 GB, free: 3.906 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.548, allocations: 77.19 kB / 0.6558 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1896/0.7375, allocations: 71.38 MB / 0.7255 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7376, allocations: 4 kB / 0.7255 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003418/0.7379, allocations: 56.16 kB / 0.7256 GB, free: 11.89 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 457 * Number of variables: 457 Notification: Performance of Generate backend data structure: time 0.01271/0.7507, allocations: 4.042 MB / 0.7295 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.7507, allocations: 8.031 kB / 0.7295 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001195/0.7519, allocations: 265.5 kB / 0.7298 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008058/0.76, allocations: 1.186 MB / 0.7309 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00603/0.7661, allocations: 1.823 MB / 0.7327 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005155/0.7666, allocations: 468.6 kB / 0.7332 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.7672, allocations: 191.9 kB / 0.7333 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004875/0.7721, allocations: 2.454 MB / 0.7357 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.675e-05/0.7721, allocations: 8 kB / 0.7357 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002167/0.7723, allocations: 79.95 kB / 0.7358 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.7724, allocations: 44 kB / 0.7359 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.7772, allocations: 2.31 MB / 0.7381 GB, free: 14.75 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.01774/0.795, allocations: 8.902 MB / 0.7468 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01053/0.8055, allocations: 4.926 MB / 0.7516 GB, free: 348 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003788/0.806, allocations: 41.97 kB / 0.7517 GB, free: 308 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00397/0.8099, allocations: 1.839 MB / 0.7535 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=236): time 4.469e-06/0.81, allocations: 0 / 0.7535 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=236): time 0.4062/1.216, allocations: 18.55 MB / 0.7716 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.216, allocations: 234 kB / 0.7718 GB, free: 119 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004528/1.221, allocations: 2.144 MB / 0.7739 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007104/1.222, allocations: 64.33 kB / 0.7739 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008233/1.222, allocations: 1.145 MB / 0.7751 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009607/1.223, allocations: 0.8264 MB / 0.7759 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/1.224, allocations: 51.53 kB / 0.7759 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.224, allocations: 393.5 kB / 0.7763 GB, free: 118 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/1.226, allocations: 1.36 MB / 0.7776 GB, free: 118 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/1.229, allocations: 1.631 MB / 0.7792 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002702/1.232, allocations: 1.636 MB / 0.7808 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.232, allocations: 0 / 0.7808 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02023/1.252, allocations: 7.665 MB / 0.7883 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.252, allocations: 172.5 kB / 0.7885 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/1.252, allocations: 4.656 kB / 0.7885 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/1.264, allocations: 3.325 MB / 0.7917 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/1.266, allocations: 474.4 kB / 0.7922 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03674/1.303, allocations: 20.02 MB / 0.8117 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/1.307, allocations: 410.9 kB / 0.8121 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/1.308, allocations: 84.02 kB / 0.8122 GB, free: 109.4 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 (237): * Single equations (assignments): 224 * 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.001482/1.309, allocations: 0.5926 MB / 0.8128 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006993/1.31, allocations: 302.2 kB / 0.8131 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02386/1.334, allocations: 8.477 MB / 0.8213 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/1.334, allocations: 28.47 kB / 0.8214 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.334, allocations: 0 / 0.8214 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-05/1.334, allocations: 11.58 kB / 0.8214 GB, free: 107.6 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.02853/1.362, allocations: 12.43 MB / 0.8335 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/1.362, allocations: 0 / 0.8335 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.364, allocations: 229.4 kB / 0.8337 GB, free: 103.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/1.375, allocations: 3.808 MB / 0.8375 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007029/1.376, allocations: 57.95 kB / 0.8375 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03851/1.415, allocations: 21.23 MB / 0.8582 GB, free: 91.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.415, allocations: 3.812 kB / 0.8582 GB, free: 91.17 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02668/1.441, allocations: 10.47 MB / 0.8685 GB, free: 87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.443, allocations: 451.4 kB / 0.8689 GB, free: 86.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009596/1.444, allocations: 55.75 kB / 0.869 GB, free: 86.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.447, allocations: 274.5 kB / 0.8692 GB, free: 86.34 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/1.448, allocations: 380.3 kB / 0.8696 GB, free: 86.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/1.448, allocations: 63.8 kB / 0.8696 GB, free: 86.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002914/1.451, allocations: 1.652 MB / 0.8713 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.8e-07/1.451, allocations: 0 / 0.8713 GB, free: 84.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004937/1.456, allocations: 0.9525 MB / 0.8722 GB, free: 83.77 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 (142): * Single equations (assignments): 135 * 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.02621/1.482, allocations: 11.31 MB / 0.8832 GB, free: 74.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.495, allocations: 5.63 MB / 0.8887 GB, free: 69.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.495, allocations: 0 / 0.8887 GB, free: 69.01 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008392/1.504, allocations: 3.826 MB / 0.8925 GB, free: 65.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.506, allocations: 261.8 kB / 0.8927 GB, free: 65.33 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/1.519, allocations: 11.01 MB / 0.9035 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/1.52, allocations: 1.835 MB / 0.9053 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001227/1.521, allocations: 213.8 kB / 0.9055 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.523, allocations: 1.158 MB / 0.9066 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/1.523, allocations: 0 / 0.9066 GB, free: 52.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1093/1.632, allocations: 71.29 MB / 0.9762 GB, free: 3.516 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.632, allocations: 187.2 kB / 0.9764 GB, free: 3.277 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.754/6.386, allocations: 3.938 kB / 0.9764 GB, free: 3.273 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)