Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_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.005343/0.005343, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.388/1.388, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009795/0.0009798, allocations: 90.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06662/0.06662, allocations: 12.2 MB / 330.1 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.4113/0.4113, allocations: 78.53 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.00049, allocations: 22.19 kB / 0.528 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 69.23 MB / 0.5956 GB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3701/0.4891, allocations: 102.5 MB / 0.6958 GB, free: 99.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4893, allocations: 79.27 kB / 0.6958 GB, free: 99.15 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1535/0.6429, allocations: 68.88 MB / 0.7631 GB, free: 46.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.6429, allocations: 0 / 0.7631 GB, free: 46.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001397/0.6431, allocations: 59.88 kB / 0.7632 GB, free: 46.83 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.0136/0.6567, allocations: 4.727 MB / 0.7678 GB, free: 42.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.6568, allocations: 11.98 kB / 0.7678 GB, free: 42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006945/0.6575, allocations: 307.3 kB / 0.7681 GB, free: 41.68 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009735/0.6672, allocations: 1.619 MB / 0.7697 GB, free: 40.06 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004295/0.6716, allocations: 1.733 MB / 0.7713 GB, free: 38.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005247/0.6721, allocations: 0.7409 MB / 0.7721 GB, free: 37.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004146/0.6725, allocations: 212 kB / 0.7723 GB, free: 37.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005423/0.678, allocations: 3.223 MB / 0.7754 GB, free: 33.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.678, allocations: 3.938 kB / 0.7754 GB, free: 33.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.6783, allocations: 80 kB / 0.7755 GB, free: 33.82 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.6783, allocations: 52 kB / 0.7756 GB, free: 33.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00558/0.6839, allocations: 2.995 MB / 0.7785 GB, free: 30.75 MB / 474.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.01633/0.7002, allocations: 10.01 MB / 0.7882 GB, free: 20.33 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009624/0.7099, allocations: 4.894 MB / 0.793 GB, free: 15.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/0.7103, allocations: 41.95 kB / 0.7931 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004011/0.7143, allocations: 2.443 MB / 0.7955 GB, free: 12.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 4.188e-06/0.7143, allocations: 0 / 0.7955 GB, free: 12.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=250): time 0.1131/0.8274, allocations: 32.09 MB / 0.8268 GB, free: 12.58 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.8276, allocations: 184.2 kB / 0.827 GB, free: 12.36 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.8313, allocations: 1.973 MB / 0.8289 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006513/0.832, allocations: 73.64 kB / 0.829 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009393/0.8329, allocations: 1.212 MB / 0.8301 GB, free: 9.078 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/0.8341, allocations: 0.8586 MB / 0.831 GB, free: 8.207 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.8344, allocations: 48 kB / 0.831 GB, free: 8.16 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.8346, allocations: 411 kB / 0.8314 GB, free: 7.754 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004314/0.8389, allocations: 1.895 MB / 0.8333 GB, free: 5.855 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004405/0.8433, allocations: 2.211 MB / 0.8354 GB, free: 3.547 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.8477, allocations: 2.126 MB / 0.8375 GB, free: 1.367 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.8477, allocations: 0 / 0.8375 GB, free: 1.367 MB / 0.4949 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04239/0.8901, allocations: 14.57 MB / 0.8517 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/0.8903, allocations: 114.8 kB / 0.8518 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.8903, allocations: 11.94 kB / 0.8519 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02038/0.9107, allocations: 6.564 MB / 0.8583 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.9131, allocations: 407.4 kB / 0.8587 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0655/0.9787, allocations: 27.83 MB / 0.8858 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004465/0.9832, allocations: 0.5367 MB / 0.8864 GB, free: 14.94 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006484/0.9839, allocations: 91.97 kB / 0.8864 GB, free: 14.85 MB / 0.5574 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001735/0.9856, allocations: 0.5244 MB / 0.887 GB, free: 14.31 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009154/0.9865, allocations: 296.3 kB / 0.8872 GB, free: 14.02 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04235/1.029, allocations: 14.79 MB / 0.9017 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-05/1.029, allocations: 24 kB / 0.9017 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.225e-05/1.029, allocations: 20 kB / 0.9017 GB, free: 15.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.651e-05/1.029, allocations: 15.91 kB / 0.9017 GB, free: 15.07 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.3236/1.353, allocations: 18.37 MB / 0.9197 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.353, allocations: 4.25 kB / 0.9197 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.355, allocations: 246.9 kB / 0.9199 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01793/1.373, allocations: 6.218 MB / 0.926 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007034/1.373, allocations: 54.27 kB / 0.926 GB, free: 145.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0539/1.427, allocations: 26.89 MB / 0.9523 GB, free: 141.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.427, allocations: 6.812 kB / 0.9523 GB, free: 141.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04287/1.47, allocations: 17.39 MB / 0.9693 GB, free: 139.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.471, allocations: 428 kB / 0.9697 GB, free: 139.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/1.473, allocations: 47.91 kB / 0.9697 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003676/1.476, allocations: 408.5 kB / 0.9701 GB, free: 139.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002563/1.479, allocations: 0.5803 MB / 0.9707 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000574/1.479, allocations: 66.8 kB / 0.9708 GB, free: 139.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003303/1.483, allocations: 1.529 MB / 0.9723 GB, free: 138.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.81e-07/1.483, allocations: 0 / 0.9723 GB, free: 138.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00553/1.488, allocations: 1.129 MB / 0.9734 GB, free: 138.4 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04587/1.534, allocations: 18.16 MB / 0.9911 GB, free: 125.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01792/1.552, allocations: 7.235 MB / 0.9982 GB, free: 119.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/1.552, allocations: 0 / 0.9982 GB, free: 119.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01381/1.566, allocations: 5.09 MB / 1.003 GB, free: 114.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/1.569, allocations: 229.1 kB / 1.003 GB, free: 114.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/1.586, allocations: 12.17 MB / 1.015 GB, free: 102.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/1.588, allocations: 1.88 MB / 1.017 GB, free: 101.3 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001371/1.589, allocations: 215.1 kB / 1.017 GB, free: 101.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.591, allocations: 1.221 MB / 1.018 GB, free: 100.1 MB / 0.573 GB Notification: Performance of SimCode: time 7.92e-07/1.591, allocations: 4 kB / 1.018 GB, free: 100.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.709, allocations: 78.9 MB / 1.096 GB, free: 29.06 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/1.71, allocations: 215.4 kB / 1.096 GB, free: 28.82 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.648/6.358, allocations: 0 / 1.096 GB, free: 28.82 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)