Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_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.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_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.01016/0.01016, allocations: 169.5 kB / 15.11 MB, free: 5.977 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.479/1.479, allocations: 223.2 MB / 239 MB, free: 72 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008777/0.0008778, allocations: 100.7 kB / 290.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5032/0.5032, allocations: 79.43 MB / 420.7 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004313, allocations: 8 kB / 0.4891 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 69.52 MB / 0.557 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.6052, allocations: 105.8 MB / 0.6603 GB, free: 11.23 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.6055, allocations: 75.97 kB / 0.6604 GB, free: 11.16 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7869/1.392, allocations: 140.5 MB / 0.7977 GB, free: 84.2 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.965e-06/1.392, allocations: 0 / 0.7977 GB, free: 84.2 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0008239/1.393, allocations: 106.5 kB / 0.7978 GB, free: 84.2 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.03279/1.426, allocations: 8.016 MB / 0.8056 GB, free: 81.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/1.426, allocations: 13.55 kB / 0.8056 GB, free: 81.66 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002778/1.429, allocations: 483.7 kB / 0.8061 GB, free: 81.61 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/1.445, allocations: 2.406 MB / 0.8084 GB, free: 81.25 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/1.459, allocations: 3.391 MB / 0.8117 GB, free: 80.48 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001419/1.461, allocations: 0.974 MB / 0.8127 GB, free: 79.79 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002481/1.463, allocations: 367.2 kB / 0.813 GB, free: 79.78 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/1.483, allocations: 5.092 MB / 0.818 GB, free: 79.57 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003071/1.484, allocations: 0.75 kB / 0.818 GB, free: 79.57 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001977/1.486, allocations: 142.1 kB / 0.8181 GB, free: 79.57 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/1.486, allocations: 86.19 kB / 0.8182 GB, free: 79.57 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/1.5, allocations: 4.846 MB / 0.823 GB, free: 79.54 MB / 0.573 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.04747/1.548, allocations: 17.61 MB / 0.8401 GB, free: 75.81 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02482/1.573, allocations: 11 MB / 0.8509 GB, free: 71.99 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.574, allocations: 69.48 kB / 0.851 GB, free: 71.98 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01211/1.586, allocations: 3.921 MB / 0.8548 GB, free: 71.75 MB / 0.573 GB Notification: Performance of pre-optimization done (n=476): time 3.397e-05/1.586, allocations: 0 / 0.8548 GB, free: 71.75 MB / 0.573 GB Notification: Performance of matching and sorting (n=476): time 0.08347/1.669, allocations: 23.23 MB / 0.8775 GB, free: 69.8 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/1.67, allocations: 372.3 kB / 0.8778 GB, free: 69.41 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009965/1.68, allocations: 4.038 MB / 0.8818 GB, free: 68.09 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001646/1.681, allocations: 112 kB / 0.8819 GB, free: 67.99 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002099/1.683, allocations: 2.194 MB / 0.884 GB, free: 66.26 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002971/1.686, allocations: 1.65 MB / 0.8856 GB, free: 64.96 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/1.688, allocations: 90.69 kB / 0.8857 GB, free: 64.89 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004573/1.688, allocations: 489.8 kB / 0.8862 GB, free: 64.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006857/1.695, allocations: 2.965 MB / 0.8891 GB, free: 63.39 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007268/1.703, allocations: 3.412 MB / 0.8924 GB, free: 61.91 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007306/1.71, allocations: 3.481 MB / 0.8958 GB, free: 60.09 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.71e-05/1.71, allocations: 3.953 kB / 0.8958 GB, free: 60.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.06239/1.772, allocations: 19.27 MB / 0.9146 GB, free: 55.35 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.772, allocations: 288.8 kB / 0.9149 GB, free: 55.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/1.773, allocations: 7.156 kB / 0.9149 GB, free: 55.03 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03686/1.809, allocations: 14.04 MB / 0.9286 GB, free: 51.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005156/1.815, allocations: 0.753 MB / 0.9294 GB, free: 50.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1009/1.916, allocations: 44.07 MB / 0.9724 GB, free: 12.49 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/1.926, allocations: 0.8062 MB / 0.9732 GB, free: 11.81 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002271/1.929, allocations: 159 kB / 0.9733 GB, free: 11.66 MB / 0.573 GB Warning: Assuming fixed start value for the following 11 variables: gen1.Syn1.e2d:VARIABLE(start = gen1.Syn1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real gen1.Syn1.e2q:VARIABLE(start = gen1.Syn1.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real gen1.Syn1.e1q:VARIABLE(start = gen1.Syn1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.Syn1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.Syn1.delta:VARIABLE(start = gen1.Syn1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen8.Syn4.e2d:VARIABLE(start = gen8.Syn4.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real gen8.Syn4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen8.Syn4.delta:VARIABLE(start = gen8.Syn4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen6.Syn5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen3.Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.Syn3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$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 (401): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {94 113} Notification: Performance of prepare postOptimizeDAE: time 0.004263/1.933, allocations: 0.9566 MB / 0.9743 GB, free: 10.73 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002362/1.935, allocations: 0.5594 MB / 0.9748 GB, free: 10.17 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0568/1.992, allocations: 19.9 MB / 0.9943 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.528e-05/1.992, allocations: 48 kB / 0.9943 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/1.992, allocations: 4 kB / 0.9943 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001547/1.992, allocations: 23.67 kB / 0.9943 GB, free: 11.16 MB / 0.5886 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.07736/2.07, allocations: 29.11 MB / 1.023 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.449e-05/2.07, allocations: 0 / 1.023 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003234/2.073, allocations: 400.1 kB / 1.023 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4097/2.483, allocations: 12.19 MB / 1.035 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001947/2.485, allocations: 103.8 kB / 1.035 GB, free: 103 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1061/2.591, allocations: 45.37 MB / 1.079 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/2.591, allocations: 4.031 kB / 1.079 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07166/2.663, allocations: 23.98 MB / 1.103 GB, free: 93.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/2.666, allocations: 0.7804 MB / 1.104 GB, free: 92.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00301/2.669, allocations: 95.27 kB / 1.104 GB, free: 92.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007646/2.676, allocations: 0.5586 MB / 1.104 GB, free: 92.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004384/2.681, allocations: 0.824 MB / 1.105 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009884/2.682, allocations: 128 kB / 1.105 GB, free: 92.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00663/2.688, allocations: 3.109 MB / 1.108 GB, free: 92.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.9e-07/2.688, allocations: 0 / 1.108 GB, free: 92.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01143/2.7, allocations: 2.058 MB / 1.11 GB, free: 92.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (gen2.aVR1TypeII1.ExcitationSystem.x_scaled[1],gen2.aVR1TypeII1.derivativeBlock.x,gen2.aVR1TypeII1.firstOrder2.y,gen2.aVR1TypeII1.simpleLagLim.state,gen2.Syn3.delta,gen2.Syn3.w,gen2.Syn3.e1q,gen2.Syn3.e1d,gen2.Syn3.e2q,gen2.Syn3.e2d,gen3.aVR2TypeII2.ExcitationSystem.x_scaled[1],gen3.aVR2TypeII2.derivativeBlock.x,gen3.aVR2TypeII2.firstOrder2.y,gen3.aVR2TypeII2.simpleLagLim.state,gen3.Syn2.delta,gen3.Syn2.w,gen3.Syn2.e1q,gen3.Syn2.e1d,gen3.Syn2.e2q,gen3.Syn2.e2d,gen6.aVR4TypeII1.ExcitationSystem.x_scaled[1],gen6.aVR4TypeII1.derivativeBlock.x,gen6.aVR4TypeII1.firstOrder2.y,gen6.aVR4TypeII1.simpleLagLim.state,gen6.Syn5.delta,gen6.Syn5.w,gen6.Syn5.e1q,gen6.Syn5.e1d,gen6.Syn5.e2q,gen6.Syn5.e2d,gen8.aVR3TypeII2.ExcitationSystem.x_scaled[1],gen8.aVR3TypeII2.derivativeBlock.x,gen8.aVR3TypeII2.firstOrder2.y,gen8.aVR3TypeII2.simpleLagLim.state,gen8.Syn4.delta,gen8.Syn4.w,gen8.Syn4.e1q,gen8.Syn4.e1d,gen8.Syn4.e2q,gen8.Syn4.e2d,gen1.AVR1.ExcitationSystem.x_scaled[1],gen1.AVR1.derivativeBlock.x,gen1.AVR1.firstOrder2.y,gen1.AVR1.simpleLagLim.state,gen1.Syn1.delta,gen1.Syn1.w,gen1.Syn1.e1q,gen1.Syn1.e2q,gen1.Syn1.e2d) * Number of discrete variables: 10 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$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 (258): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {110 94,1 6,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06963/2.77, allocations: 24.96 MB / 1.135 GB, free: 86.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.03614/2.806, allocations: 11.27 MB / 1.146 GB, free: 82.23 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/2.806, allocations: 0 / 1.146 GB, free: 82.23 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02449/2.83, allocations: 8.365 MB / 1.154 GB, free: 78.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007122/2.837, allocations: 470.9 kB / 1.154 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04152/2.879, allocations: 20.69 MB / 1.174 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004262/2.883, allocations: 2.958 MB / 1.177 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003408/2.887, allocations: 384.1 kB / 1.178 GB, free: 61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004451/2.891, allocations: 2.35 MB / 1.18 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of SimCode: time 1.703e-06/2.891, allocations: 0 / 1.18 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5969/3.488, allocations: 153.5 MB / 1.33 GB, free: 86.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/3.488, allocations: 199 kB / 1.33 GB, free: 86.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.61/13.1, allocations: 3.938 kB / 1.33 GB, free: 86.44 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_IEEE14_IEEE_14_Buses.fmu > OpenIPSL_dev_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)