Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE9.IEEE_9_Buses,fileNamePrefix="OpenIPSL_dev_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.00931/0.00931, allocations: 170.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.578/1.578, allocations: 223.2 MB / 239 MB, free: 1.801 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.001043/0.001043, allocations: 92.14 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5256/0.5256, allocations: 79.44 MB / 420.7 MB, free: 43.71 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004693, allocations: 12 kB / 0.4891 GB, free: 1.953 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4615, allocations: 69.51 MB / 0.557 GB, free: 38.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.6208, allocations: 103.1 MB / 0.6577 GB, free: 2.449 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.6211, allocations: 72.75 kB / 0.6578 GB, free: 2.379 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1934/0.8145, allocations: 73.08 MB / 0.7291 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8145, allocations: 0 / 0.7291 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001983/0.8147, allocations: 55.94 kB / 0.7292 GB, free: 8.738 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.01212/0.8268, allocations: 4.058 MB / 0.7331 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.8269, allocations: 12.03 kB / 0.7332 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001106/0.828, allocations: 261.5 kB / 0.7334 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007855/0.8359, allocations: 1.186 MB / 0.7346 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005727/0.8416, allocations: 1.823 MB / 0.7363 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005507/0.8422, allocations: 460.6 kB / 0.7368 GB, free: 0.7109 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006095/0.8428, allocations: 195.9 kB / 0.737 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/0.8479, allocations: 2.45 MB / 0.7394 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.399e-05/0.848, allocations: 4 kB / 0.7394 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002126/0.8482, allocations: 71.95 kB / 0.7394 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-05/0.8482, allocations: 44 kB / 0.7395 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004651/0.8529, allocations: 2.31 MB / 0.7417 GB, free: 11.61 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.01987/0.8728, allocations: 8.98 MB / 0.7505 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.8843, allocations: 4.916 MB / 0.7553 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004367/0.8848, allocations: 41.95 kB / 0.7553 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004764/0.8895, allocations: 1.845 MB / 0.7571 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=236): time 8.226e-06/0.8896, allocations: 0 / 0.7571 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=236): time 0.3791/1.269, allocations: 18.41 MB / 0.7751 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.726e-05/1.269, allocations: 240.1 kB / 0.7753 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/1.273, allocations: 2.138 MB / 0.7774 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006908/1.274, allocations: 71.23 kB / 0.7775 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/1.275, allocations: 1.149 MB / 0.7786 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.276, allocations: 0.8155 MB / 0.7794 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/1.276, allocations: 47.09 kB / 0.7795 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001237/1.276, allocations: 395 kB / 0.7798 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/1.279, allocations: 1.36 MB / 0.7812 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/1.281, allocations: 1.625 MB / 0.7828 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002801/1.284, allocations: 1.644 MB / 0.7844 GB, free: 118 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.284, allocations: 0 / 0.7844 GB, free: 118 MB / 0.5573 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.02075/1.305, allocations: 7.66 MB / 0.7918 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/1.305, allocations: 170.9 kB / 0.792 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/1.305, allocations: 8.906 kB / 0.792 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01202/1.317, allocations: 3.322 MB / 0.7953 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/1.32, allocations: 478.8 kB / 0.7957 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04156/1.362, allocations: 20.02 MB / 0.8153 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004942/1.367, allocations: 411.7 kB / 0.8157 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004415/1.367, allocations: 94.5 kB / 0.8158 GB, free: 109.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 (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.001738/1.369, allocations: 0.5895 MB / 0.8163 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008592/1.37, allocations: 301.9 kB / 0.8166 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02569/1.396, allocations: 8.551 MB / 0.825 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/1.396, allocations: 23.94 kB / 0.825 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.396, allocations: 2.688 kB / 0.825 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-05/1.396, allocations: 11.86 kB / 0.825 GB, free: 106.9 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.02892/1.425, allocations: 12.41 MB / 0.8371 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/1.425, allocations: 96 / 0.8371 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/1.426, allocations: 237.2 kB / 0.8374 GB, free: 102.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01182/1.438, allocations: 3.812 MB / 0.8411 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006891/1.439, allocations: 62.23 kB / 0.8411 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03904/1.478, allocations: 21.22 MB / 0.8619 GB, free: 90.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.478, allocations: 0 / 0.8619 GB, free: 90.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02686/1.505, allocations: 10.43 MB / 0.872 GB, free: 84.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.507, allocations: 450.5 kB / 0.8725 GB, free: 84.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001443/1.508, allocations: 51.95 kB / 0.8725 GB, free: 84.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003714/1.512, allocations: 285 kB / 0.8728 GB, free: 83.86 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/1.513, allocations: 378.8 kB / 0.8731 GB, free: 83.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.514, allocations: 70.98 kB / 0.8732 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003124/1.517, allocations: 1.647 MB / 0.8748 GB, free: 82.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.517, allocations: 0 / 0.8748 GB, free: 82.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004251/1.521, allocations: 0.9573 MB / 0.8758 GB, free: 81.28 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.02679/1.548, allocations: 11.26 MB / 0.8868 GB, free: 71.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01261/1.561, allocations: 5.633 MB / 0.8923 GB, free: 66.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/1.561, allocations: 0 / 0.8923 GB, free: 66.56 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008821/1.569, allocations: 3.825 MB / 0.896 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.572, allocations: 250.1 kB / 0.8962 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/1.586, allocations: 11 MB / 0.907 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.587, allocations: 1.841 MB / 0.9088 GB, free: 50.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001125/1.588, allocations: 220.6 kB / 0.909 GB, free: 50.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.59, allocations: 1.162 MB / 0.9101 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of SimCode: time 1.122e-06/1.59, allocations: 0 / 0.9101 GB, free: 49.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.705, allocations: 71.33 MB / 0.9798 GB, free: 440 kB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.706, allocations: 193.9 kB / 0.98 GB, free: 192 kB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.346/7.052, allocations: 0 / 0.98 GB, free: 192 kB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE9_IEEE_9_Buses.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE9.IEEE_9_Buses.pipe 2>&1)