Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_IEEE14_IEEE_14_Buses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.IEEE14.IEEE_14_Buses,fileNamePrefix="OpenIPSL_release_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.01011/0.01011, allocations: 171.6 kB / 15.12 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.452/1.452, allocations: 223.2 MB / 239 MB, free: 96 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.0009244/0.0009242, allocations: 101.8 kB / 290.2 MB, free: 4.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5124/0.5124, allocations: 78.59 MB / 419.9 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 12 kB / 499.9 MB, free: 7.211 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1592, allocations: 69.36 MB / 0.5559 GB, free: 1.785 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.6135, allocations: 105.1 MB / 0.6585 GB, free: 13.14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.6138, allocations: 77.66 kB / 0.6586 GB, free: 13.1 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4047/1.019, allocations: 139.4 MB / 0.7947 GB, free: 1.418 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.404e-06/1.019, allocations: 0 / 0.7947 GB, free: 1.418 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0006144/1.019, allocations: 111.9 kB / 0.7948 GB, free: 1.309 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.3918/1.411, allocations: 7.999 MB / 0.8026 GB, free: 83.05 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/1.411, allocations: 9.844 kB / 0.8027 GB, free: 83.05 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002182/1.413, allocations: 483.7 kB / 0.8031 GB, free: 83 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/1.429, allocations: 2.405 MB / 0.8055 GB, free: 82.64 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/1.439, allocations: 3.394 MB / 0.8088 GB, free: 81.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/1.44, allocations: 0.9691 MB / 0.8097 GB, free: 81.29 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/1.442, allocations: 373.3 kB / 0.8101 GB, free: 81.28 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/1.456, allocations: 5.086 MB / 0.815 GB, free: 81.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.041e-05/1.456, allocations: 3.531 kB / 0.815 GB, free: 81.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005015/1.456, allocations: 147.8 kB / 0.8152 GB, free: 81.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.45e-05/1.456, allocations: 83.84 kB / 0.8153 GB, free: 81.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01155/1.468, allocations: 4.843 MB / 0.82 GB, free: 81.04 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.03867/1.507, allocations: 17.6 MB / 0.8372 GB, free: 77.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02079/1.527, allocations: 11 MB / 0.8479 GB, free: 73.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008265/1.528, allocations: 67.23 kB / 0.848 GB, free: 73.54 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008231/1.537, allocations: 3.922 MB / 0.8518 GB, free: 73.35 MB / 0.573 GB Notification: Performance of pre-optimization done (n=476): time 1.168e-05/1.537, allocations: 2.562 kB / 0.8518 GB, free: 73.35 MB / 0.573 GB Notification: Performance of matching and sorting (n=476): time 0.0664/1.603, allocations: 23.23 MB / 0.8745 GB, free: 71.31 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/1.603, allocations: 370.2 kB / 0.8749 GB, free: 70.93 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007916/1.611, allocations: 4.041 MB / 0.8788 GB, free: 69.46 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001617/1.613, allocations: 106.7 kB / 0.8789 GB, free: 69.37 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.614, allocations: 2.196 MB / 0.8811 GB, free: 67.64 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002632/1.617, allocations: 1.656 MB / 0.8827 GB, free: 66.34 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004216/1.618, allocations: 90.62 kB / 0.8828 GB, free: 66.27 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002445/1.618, allocations: 485.3 kB / 0.8832 GB, free: 65.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005521/1.623, allocations: 2.966 MB / 0.8861 GB, free: 64.77 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005762/1.629, allocations: 3.416 MB / 0.8895 GB, free: 63.29 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006164/1.635, allocations: 3.478 MB / 0.8929 GB, free: 61.47 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/1.635, allocations: 0 / 0.8929 GB, free: 61.47 MB / 0.573 GB Notification: Performance of matching and sorting (n=608) (initialization): time 0.05404/1.689, allocations: 19.27 MB / 0.9117 GB, free: 56.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.69, allocations: 283.4 kB / 0.9119 GB, free: 56.41 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/1.69, allocations: 5.375 kB / 0.912 GB, free: 56.41 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03496/1.725, allocations: 14.05 MB / 0.9257 GB, free: 52.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/1.729, allocations: 0.746 MB / 0.9264 GB, free: 52.38 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09252/1.822, allocations: 44.08 MB / 0.9694 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008426/1.83, allocations: 0.8026 MB / 0.9702 GB, free: 13.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/1.832, allocations: 162.7 kB / 0.9704 GB, free: 13.59 MB / 0.573 GB Warning: Assuming fixed start value for the following 11 variables: groupBus1_1.Syn1.e2d:VARIABLE(start = groupBus1_1.Syn1.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e2q:VARIABLE(start = groupBus1_1.Syn1.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real groupBus1_1.Syn1.e1q:VARIABLE(start = groupBus1_1.Syn1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real groupBus1_1.Syn1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus1_1.Syn1.delta:VARIABLE(start = groupBus1_1.Syn1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real groupBus8_1.Syn4.e2d:VARIABLE(start = groupBus8_1.Syn4.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real groupBus8_1.Syn4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus8_1.Syn4.delta:VARIABLE(start = groupBus8_1.Syn4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real groupBus6_1.Syn5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus3_1.Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real groupBus2_1.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.003687/1.835, allocations: 0.9566 MB / 0.9713 GB, free: 12.67 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00231/1.838, allocations: 0.5594 MB / 0.9719 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05585/1.893, allocations: 19.8 MB / 0.9912 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.588e-05/1.893, allocations: 50.88 kB / 0.9912 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.894, allocations: 0 / 0.9912 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001879/1.894, allocations: 29.64 kB / 0.9913 GB, free: 12.88 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.08234/1.976, allocations: 29.59 MB / 1.02 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.265e-05/1.976, allocations: 0 / 1.02 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003165/1.979, allocations: 404.8 kB / 1.021 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3295/2.309, allocations: 11.48 MB / 1.032 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00167/2.311, allocations: 104.8 kB / 1.032 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09767/2.408, allocations: 45.37 MB / 1.076 GB, free: 96.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.408, allocations: 2.969 kB / 1.076 GB, free: 96.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06926/2.478, allocations: 23.98 MB / 1.1 GB, free: 95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003412/2.481, allocations: 0.7859 MB / 1.1 GB, free: 94.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003348/2.484, allocations: 94.95 kB / 1.1 GB, free: 94.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007797/2.492, allocations: 0.5499 MB / 1.101 GB, free: 94.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00489/2.497, allocations: 0.8253 MB / 1.102 GB, free: 94.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001036/2.498, allocations: 122.5 kB / 1.102 GB, free: 94.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.006931/2.505, allocations: 3.104 MB / 1.105 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.5e-07/2.505, allocations: 0 / 1.105 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.009282/2.514, allocations: 2.063 MB / 1.107 GB, free: 94.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 49 (groupBus2_1.aVR1TypeII1.ExcitationSystem.x_scaled[1],groupBus2_1.aVR1TypeII1.derivativeBlock.x,groupBus2_1.aVR1TypeII1.firstOrder2.y,groupBus2_1.aVR1TypeII1.simpleLagLim.state,groupBus2_1.Syn3.delta,groupBus2_1.Syn3.w,groupBus2_1.Syn3.e1q,groupBus2_1.Syn3.e1d,groupBus2_1.Syn3.e2q,groupBus2_1.Syn3.e2d,groupBus3_1.aVR2TypeII2.ExcitationSystem.x_scaled[1],groupBus3_1.aVR2TypeII2.derivativeBlock.x,groupBus3_1.aVR2TypeII2.firstOrder2.y,groupBus3_1.aVR2TypeII2.simpleLagLim.state,groupBus3_1.Syn2.delta,groupBus3_1.Syn2.w,groupBus3_1.Syn2.e1q,groupBus3_1.Syn2.e1d,groupBus3_1.Syn2.e2q,groupBus3_1.Syn2.e2d,groupBus6_1.aVR4TypeII1.ExcitationSystem.x_scaled[1],groupBus6_1.aVR4TypeII1.derivativeBlock.x,groupBus6_1.aVR4TypeII1.firstOrder2.y,groupBus6_1.aVR4TypeII1.simpleLagLim.state,groupBus6_1.Syn5.delta,groupBus6_1.Syn5.w,groupBus6_1.Syn5.e1q,groupBus6_1.Syn5.e1d,groupBus6_1.Syn5.e2q,groupBus6_1.Syn5.e2d,groupBus8_1.aVR3TypeII2.ExcitationSystem.x_scaled[1],groupBus8_1.aVR3TypeII2.derivativeBlock.x,groupBus8_1.aVR3TypeII2.firstOrder2.y,groupBus8_1.aVR3TypeII2.simpleLagLim.state,groupBus8_1.Syn4.delta,groupBus8_1.Syn4.w,groupBus8_1.Syn4.e1q,groupBus8_1.Syn4.e1d,groupBus8_1.Syn4.e2q,groupBus8_1.Syn4.e2d,groupBus1_1.AVR1.ExcitationSystem.x_scaled[1],groupBus1_1.AVR1.derivativeBlock.x,groupBus1_1.AVR1.firstOrder2.y,groupBus1_1.AVR1.simpleLagLim.state,groupBus1_1.Syn1.delta,groupBus1_1.Syn1.w,groupBus1_1.Syn1.e1q,groupBus1_1.Syn1.e2q,groupBus1_1.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.06362/2.578, allocations: 24.96 MB / 1.131 GB, free: 88.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02874/2.607, allocations: 11.27 MB / 1.142 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/2.607, allocations: 0 / 1.142 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02177/2.629, allocations: 8.358 MB / 1.15 GB, free: 80.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/2.634, allocations: 469.9 kB / 1.151 GB, free: 80.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03018/2.664, allocations: 20.71 MB / 1.171 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002484/2.667, allocations: 2.954 MB / 1.174 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00265/2.67, allocations: 388.4 kB / 1.174 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003872/2.673, allocations: 2.356 MB / 1.177 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of SimCode: time 9.978e-06/2.673, allocations: 0 / 1.177 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5906/3.264, allocations: 153.9 MB / 1.327 GB, free: 86.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/3.264, allocations: 193 kB / 1.327 GB, free: 86.72 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.916/12.18, allocations: 0 / 1.327 GB, free: 86.72 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_IEEE14_IEEE_14_Buses_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_IEEE14_IEEE_14_Buses.fmu > OpenIPSL_release_OpenIPSL.Examples.IEEE14.IEEE_14_Buses.pipe 2>&1)