Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_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.006439/0.006439, allocations: 169.7 kB / 15.11 MB, free: 5.973 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.386/1.386, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.000979/0.000979, allocations: 102.8 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06367/0.06367, allocations: 12.19 MB / 330 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4132/0.4132, allocations: 78.52 MB / 459.6 MB, free: 3.992 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004937, allocations: 26.64 kB / 0.528 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1182, allocations: 69.24 MB / 0.5956 GB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4777, allocations: 104.4 MB / 0.6976 GB, free: 100.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.478, allocations: 80.14 kB / 0.6977 GB, free: 100.1 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2247/0.7026, allocations: 98.63 MB / 0.794 GB, free: 15.09 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.7027, allocations: 0 / 0.794 GB, free: 15.09 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004506/0.7031, allocations: 84 kB / 0.7941 GB, free: 15.01 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02031/0.7235, allocations: 6.651 MB / 0.8006 GB, free: 8.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7235, allocations: 11.98 kB / 0.8006 GB, free: 8.258 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001874/0.7254, allocations: 492.9 kB / 0.801 GB, free: 7.766 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.7422, allocations: 2.807 MB / 0.8038 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006397/0.7486, allocations: 2.315 MB / 0.806 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009299/0.7496, allocations: 0.9808 MB / 0.807 GB, free: 1.441 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001762/0.7514, allocations: 351.9 kB / 0.8073 GB, free: 1.098 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.7652, allocations: 4.954 MB / 0.8122 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001311/0.7654, allocations: 0 / 0.8122 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001149/0.7666, allocations: 148 kB / 0.8123 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.353e-05/0.7667, allocations: 84 kB / 0.8124 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.7774, allocations: 4.498 MB / 0.8168 GB, free: 7.379 MB / 490.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.03837/0.8158, allocations: 18.68 MB / 0.835 GB, free: 3.516 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.8291, allocations: 5.706 MB / 0.8406 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000751/0.8299, allocations: 66.92 kB / 0.8407 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007938/0.8379, allocations: 3.443 MB / 0.844 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=385): time 1.034e-05/0.8379, allocations: 0 / 0.844 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=385): time 0.6084/1.446, allocations: 78.04 MB / 0.9203 GB, free: 128.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/1.446, allocations: 146.8 kB / 0.9204 GB, free: 128.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004819/1.451, allocations: 2.752 MB / 0.9231 GB, free: 128.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.452, allocations: 91.7 kB / 0.9232 GB, free: 128.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.454, allocations: 2.004 MB / 0.9251 GB, free: 127.9 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00161/1.455, allocations: 1.307 MB / 0.9264 GB, free: 127.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/1.456, allocations: 73.41 kB / 0.9265 GB, free: 127.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.456, allocations: 454.5 kB / 0.9269 GB, free: 126.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005416/1.461, allocations: 2.676 MB / 0.9295 GB, free: 126.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006176/1.468, allocations: 3.258 MB / 0.9327 GB, free: 126.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/1.473, allocations: 2.923 MB / 0.9356 GB, free: 126.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/1.473, allocations: 3.969 kB / 0.9356 GB, free: 126.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.0535/1.527, allocations: 20.28 MB / 0.9554 GB, free: 125.5 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.527, allocations: 71.53 kB / 0.9554 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.662e-05/1.527, allocations: 13.88 kB / 0.9554 GB, free: 125.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02651/1.553, allocations: 8.635 MB / 0.9639 GB, free: 124.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.556, allocations: 0.5524 MB / 0.9644 GB, free: 124.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09124/1.648, allocations: 38.45 MB / 1.002 GB, free: 107.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007111/1.655, allocations: 0.7028 MB / 1.003 GB, free: 106.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.656, allocations: 142.2 kB / 1.003 GB, free: 106.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-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 (334): * Single equations (assignments): 330 * 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: 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.003515/1.66, allocations: 0.65 MB / 1.003 GB, free: 105.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001993/1.662, allocations: 462.3 kB / 1.004 GB, free: 105.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05474/1.716, allocations: 20.59 MB / 1.024 GB, free: 89.64 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.88e-05/1.716, allocations: 44 kB / 1.024 GB, free: 89.6 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.881e-05/1.717, allocations: 28 kB / 1.024 GB, free: 89.57 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/1.717, allocations: 29.64 kB / 1.024 GB, free: 89.57 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 postOpt removeSimpleEquations (simulation): time 0.06565/1.782, allocations: 25.59 MB / 1.049 GB, free: 70.17 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/1.782, allocations: 0.5156 kB / 1.049 GB, free: 70.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002525/1.785, allocations: 397.8 kB / 1.049 GB, free: 69.83 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02429/1.809, allocations: 8.608 MB / 1.058 GB, free: 63.22 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001124/1.81, allocations: 75.84 kB / 1.058 GB, free: 63.15 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.075/1.886, allocations: 34.35 MB / 1.091 GB, free: 28.63 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.886, allocations: 3.953 kB / 1.091 GB, free: 28.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06085/1.946, allocations: 24.27 MB / 1.115 GB, free: 4.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.948, allocations: 0.5687 MB / 1.116 GB, free: 3.676 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001902/1.95, allocations: 64 kB / 1.116 GB, free: 3.613 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005573/1.956, allocations: 0.4918 MB / 1.116 GB, free: 3.121 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003616/1.959, allocations: 0.7841 MB / 1.117 GB, free: 2.336 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009127/1.96, allocations: 95.98 kB / 1.117 GB, free: 2.242 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004067/1.965, allocations: 2.106 MB / 1.119 GB, free: 136 kB / 0.573 GB Notification: Performance of sort global known variables: time 7.01e-07/1.965, allocations: 4 kB / 1.119 GB, free: 132 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.008065/1.973, allocations: 1.777 MB / 1.121 GB, free: 14.36 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (249): * Single equations (assignments): 246 * 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.06676/2.039, allocations: 25 MB / 1.145 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.2938/2.333, allocations: 10.11 MB / 1.155 GB, free: 158 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/2.333, allocations: 0 / 1.155 GB, free: 158 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02028/2.354, allocations: 7.058 MB / 1.162 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/2.358, allocations: 305.1 kB / 1.162 GB, free: 157.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03076/2.388, allocations: 21.28 MB / 1.183 GB, free: 141.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00414/2.393, allocations: 2.545 MB / 1.186 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002586/2.395, allocations: 299.3 kB / 1.186 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003126/2.398, allocations: 1.951 MB / 1.188 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/2.398, allocations: 0 / 1.188 GB, free: 141.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/2.556, allocations: 113.1 MB / 1.298 GB, free: 76.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001595/2.556, allocations: 213.1 kB / 1.299 GB, free: 76.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/9.182, allocations: 3.234 kB / 1.299 GB, free: 76.57 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)