Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005693/0.005692, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 221.3 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008016/0.0008016, allocations: 94.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07983/0.07983, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4314/0.4314, allocations: 78.52 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005505/0.0005506, allocations: 30.23 kB / 0.528 GB, free: 35.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.145, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4187/0.5637, allocations: 103.9 MB / 0.6971 GB, free: 99.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.564, allocations: 80.27 kB / 0.6972 GB, free: 99.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1633/0.7273, allocations: 69.52 MB / 0.7651 GB, free: 44.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.7273, allocations: 0 / 0.7651 GB, free: 44.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004021/0.7278, allocations: 63.88 kB / 0.7652 GB, free: 44.66 MB / 474.7 MB 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.01267/0.7404, allocations: 4.045 MB / 0.7691 GB, free: 40.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.7405, allocations: 15.98 kB / 0.7691 GB, free: 40.5 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001044/0.7415, allocations: 261.5 kB / 0.7694 GB, free: 40.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007181/0.7487, allocations: 1.182 MB / 0.7705 GB, free: 39.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00488/0.7536, allocations: 1.819 MB / 0.7723 GB, free: 37.17 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/0.754, allocations: 480.5 kB / 0.7728 GB, free: 36.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.7544, allocations: 187.9 kB / 0.7729 GB, free: 36.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004219/0.7586, allocations: 2.462 MB / 0.7753 GB, free: 33.96 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.7587, allocations: 0 / 0.7753 GB, free: 33.96 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000198/0.7589, allocations: 72 kB / 0.7754 GB, free: 33.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.7589, allocations: 44 kB / 0.7755 GB, free: 33.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.7629, allocations: 2.306 MB / 0.7777 GB, free: 31.54 MB / 474.7 MB 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.01519/0.7781, allocations: 8.913 MB / 0.7864 GB, free: 22.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009377/0.7875, allocations: 4.929 MB / 0.7912 GB, free: 17.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.7878, allocations: 33.98 kB / 0.7913 GB, free: 17.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003474/0.7913, allocations: 1.84 MB / 0.7931 GB, free: 15.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=236): time 7.304e-06/0.7914, allocations: 0 / 0.7931 GB, free: 15.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=236): time 0.06948/0.8608, allocations: 18.55 MB / 0.8112 GB, free: 12.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.861, allocations: 235.6 kB / 0.8114 GB, free: 12.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005946/0.867, allocations: 2.146 MB / 0.8135 GB, free: 10.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007624/0.8678, allocations: 65.7 kB / 0.8136 GB, free: 10.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.8691, allocations: 1.139 MB / 0.8147 GB, free: 8.879 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/0.8707, allocations: 0.824 MB / 0.8155 GB, free: 8.043 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006062/0.8713, allocations: 44 kB / 0.8155 GB, free: 8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003013/0.8717, allocations: 410.8 kB / 0.8159 GB, free: 7.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/0.8751, allocations: 1.36 MB / 0.8172 GB, free: 6.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/0.8787, allocations: 1.618 MB / 0.8188 GB, free: 4.535 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/0.8823, allocations: 1.645 MB / 0.8204 GB, free: 2.824 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/0.8824, allocations: 4 kB / 0.8204 GB, free: 2.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02283/0.9052, allocations: 7.667 MB / 0.8279 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.9054, allocations: 170.2 kB / 0.8281 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.9054, allocations: 8 kB / 0.8281 GB, free: 10.83 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/0.9173, allocations: 3.32 MB / 0.8313 GB, free: 7.484 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.9201, allocations: 467.4 kB / 0.8318 GB, free: 7.027 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03891/0.9591, allocations: 20.03 MB / 0.8513 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/0.9633, allocations: 421.7 kB / 0.8517 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007287/0.9641, allocations: 87.97 kB / 0.8518 GB, free: 1.82 MB / 0.5105 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.002289/0.9664, allocations: 0.5907 MB / 0.8524 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/0.9676, allocations: 300.2 kB / 0.8527 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02529/0.9929, allocations: 8.47 MB / 0.8609 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/0.993, allocations: 24 kB / 0.861 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.993, allocations: 8 kB / 0.861 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/0.9931, allocations: 11.95 kB / 0.861 GB, free: 8.34 MB / 0.5261 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.03309/1.026, allocations: 12.43 MB / 0.8731 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.026, allocations: 3.938 kB / 0.8731 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.028, allocations: 239.6 kB / 0.8734 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01254/1.041, allocations: 3.807 MB / 0.8771 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007343/1.041, allocations: 51.98 kB / 0.8771 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04185/1.083, allocations: 21.22 MB / 0.8978 GB, free: 1.781 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.083, allocations: 3.984 kB / 0.8979 GB, free: 1.777 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0275/1.111, allocations: 10.46 MB / 0.9081 GB, free: 7.219 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.112, allocations: 444.8 kB / 0.9085 GB, free: 6.762 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005571/1.113, allocations: 51.98 kB / 0.9085 GB, free: 6.711 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.115, allocations: 280.2 kB / 0.9088 GB, free: 6.438 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/1.116, allocations: 374.3 kB / 0.9092 GB, free: 6.066 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.117, allocations: 67.98 kB / 0.9092 GB, free: 6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002759/1.119, allocations: 1.646 MB / 0.9108 GB, free: 4.352 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.119, allocations: 0 / 0.9108 GB, free: 4.352 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003222/1.123, allocations: 0.9598 MB / 0.9118 GB, free: 3.391 MB / 0.573 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.3275/1.45, allocations: 11.3 MB / 0.9228 GB, free: 155.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.463, allocations: 5.623 MB / 0.9283 GB, free: 154.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.463, allocations: 0.9062 kB / 0.9283 GB, free: 154.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.009529/1.473, allocations: 3.832 MB / 0.932 GB, free: 153.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.476, allocations: 251.8 kB / 0.9323 GB, free: 153.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/1.491, allocations: 11 MB / 0.943 GB, free: 146.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.492, allocations: 1.837 MB / 0.9448 GB, free: 145.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001146/1.493, allocations: 222.5 kB / 0.945 GB, free: 145.8 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/1.495, allocations: 1.157 MB / 0.9462 GB, free: 145.8 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/1.495, allocations: 0 / 0.9462 GB, free: 145.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.601, allocations: 71.3 MB / 1.016 GB, free: 104.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.601, allocations: 188.2 kB / 1.016 GB, free: 104.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.533/6.134, allocations: 4.062 kB / 1.016 GB, free: 104.1 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)