Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.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.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",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.004998/0.004998, allocations: 171.5 kB / 15.11 MB, free: 5.582 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.356/1.356, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008445/0.0008446, allocations: 98.84 kB / 269.6 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0616/0.0616, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4077/0.4077, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005026, allocations: 20.88 kB / 0.528 GB, free: 35.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.5138, allocations: 103.8 MB / 0.697 GB, free: 36.51 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.5142, allocations: 81.36 kB / 0.6971 GB, free: 36.51 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2191/0.7333, allocations: 97.27 MB / 0.792 GB, free: 2.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7334, allocations: 0 / 0.792 GB, free: 2.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004164/0.7338, allocations: 91.88 kB / 0.7921 GB, free: 2.73 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02121/0.755, allocations: 6.548 MB / 0.7985 GB, free: 12.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.7551, allocations: 15.98 kB / 0.7985 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001989/0.7571, allocations: 485.2 kB / 0.799 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.7748, allocations: 2.815 MB / 0.8018 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00755/0.7823, allocations: 2.318 MB / 0.804 GB, free: 7.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/0.7836, allocations: 0.9884 MB / 0.805 GB, free: 6.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001739/0.7854, allocations: 341 kB / 0.8053 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.7995, allocations: 4.929 MB / 0.8101 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.7996, allocations: 0 / 0.8101 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.8007, allocations: 140 kB / 0.8103 GB, free: 1.664 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.89e-05/0.8008, allocations: 91.94 kB / 0.8103 GB, free: 1.574 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.812, allocations: 4.494 MB / 0.8147 GB, free: 13.07 MB / 0.4948 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.04295/0.855, allocations: 18.58 MB / 0.8329 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.8682, allocations: 5.666 MB / 0.8384 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006648/0.8689, allocations: 70.91 kB / 0.8385 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007377/0.8763, allocations: 3.427 MB / 0.8418 GB, free: 24 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=383): time 7.845e-06/0.8763, allocations: 0 / 0.8418 GB, free: 24 kB / 0.5105 GB Notification: Performance of matching and sorting (n=383): time 0.2928/1.169, allocations: 79.48 MB / 0.9194 GB, free: 360 kB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.169, allocations: 145.8 kB / 0.9196 GB, free: 188 kB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3091/1.478, allocations: 2.706 MB / 0.9222 GB, free: 139 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/1.48, allocations: 87.08 kB / 0.9223 GB, free: 139 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001281/1.481, allocations: 1.998 MB / 0.9243 GB, free: 138.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.483, allocations: 1.296 MB / 0.9255 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002794/1.483, allocations: 73.66 kB / 0.9256 GB, free: 138.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.483, allocations: 446.1 kB / 0.926 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005259/1.488, allocations: 2.659 MB / 0.9286 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005496/1.494, allocations: 3.239 MB / 0.9318 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005901/1.5, allocations: 2.902 MB / 0.9346 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-05/1.5, allocations: 4.031 kB / 0.9346 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.0523/1.552, allocations: 20.17 MB / 0.9543 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/1.552, allocations: 66.67 kB / 0.9544 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/1.552, allocations: 22.2 kB / 0.9544 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02427/1.576, allocations: 8.553 MB / 0.9628 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.579, allocations: 0.558 MB / 0.9633 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08132/1.661, allocations: 37.06 MB / 0.9995 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/1.667, allocations: 0.7038 MB / 1 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009835/1.668, allocations: 134.7 kB / 1 GB, free: 124.9 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (331): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.003098/1.671, allocations: 0.6566 MB / 1.001 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/1.672, allocations: 455.8 kB / 1.001 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05442/1.727, allocations: 20.55 MB / 1.021 GB, free: 108 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.756e-05/1.727, allocations: 40 kB / 1.021 GB, free: 108 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001207/1.727, allocations: 28 kB / 1.022 GB, free: 108 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001338/1.727, allocations: 18.23 kB / 1.022 GB, free: 108 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.06516/1.792, allocations: 25.51 MB / 1.046 GB, free: 88.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/1.792, allocations: 0 / 1.046 GB, free: 88.65 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/1.795, allocations: 391.4 kB / 1.047 GB, free: 88.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02483/1.82, allocations: 8.616 MB / 1.055 GB, free: 81.71 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/1.821, allocations: 67.52 kB / 1.055 GB, free: 81.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07897/1.9, allocations: 34.35 MB / 1.089 GB, free: 51.37 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.9, allocations: 0 / 1.089 GB, free: 51.37 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06253/1.963, allocations: 24.2 MB / 1.112 GB, free: 27.08 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/1.964, allocations: 0.561 MB / 1.113 GB, free: 26.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002116/1.967, allocations: 60 kB / 1.113 GB, free: 26.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005548/1.972, allocations: 495.6 kB / 1.114 GB, free: 25.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003728/1.976, allocations: 0.7879 MB / 1.114 GB, free: 25.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009589/1.977, allocations: 98.42 kB / 1.114 GB, free: 25.07 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004394/1.981, allocations: 2.066 MB / 1.116 GB, free: 23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/1.981, allocations: 0 / 1.116 GB, free: 23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009629/1.991, allocations: 1.76 MB / 1.118 GB, free: 21.24 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (247): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 1 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06327/2.054, allocations: 24.94 MB / 1.143 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0244/2.079, allocations: 9.947 MB / 1.152 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/2.079, allocations: 1.875 kB / 1.152 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.2667/2.345, allocations: 7.03 MB / 1.159 GB, free: 154.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/2.348, allocations: 308.7 kB / 1.159 GB, free: 154.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/2.368, allocations: 21 MB / 1.18 GB, free: 139.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00235/2.37, allocations: 2.536 MB / 1.182 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001541/2.372, allocations: 288.7 kB / 1.183 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/2.374, allocations: 1.943 MB / 1.185 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.322e-06/2.374, allocations: 0 / 1.185 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1403/2.514, allocations: 112 MB / 1.294 GB, free: 82.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/2.514, allocations: 213.7 kB / 1.294 GB, free: 82.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.288/8.802, allocations: 0 / 1.294 GB, free: 82.57 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)