Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII",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.007444/0.007444, allocations: 171.2 kB / 15.11 MB, free: 5.969 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.555/1.555, allocations: 223.2 MB / 239 MB, free: 1.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008818/0.0008818, allocations: 93.92 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4786/0.4786, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 8 kB / 499.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 69.34 MB / 0.5559 GB, free: 39.23 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.4471, allocations: 99.58 MB / 0.6531 GB, free: 6.914 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4474, allocations: 80.83 kB / 0.6532 GB, free: 6.836 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.18/0.6274, allocations: 69.4 MB / 0.721 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6275, allocations: 0 / 0.721 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003129/0.6278, allocations: 59.94 kB / 0.721 GB, free: 0.9961 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01537/0.6432, allocations: 4.626 MB / 0.7255 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6432, allocations: 8.031 kB / 0.7255 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/0.6443, allocations: 307.2 kB / 0.7258 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.6546, allocations: 1.615 MB / 0.7274 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/0.6594, allocations: 1.689 MB / 0.7291 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008181/0.6602, allocations: 0.7448 MB / 0.7298 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000862/0.6611, allocations: 211.8 kB / 0.73 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007974/0.6691, allocations: 3.195 MB / 0.7331 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/0.6692, allocations: 0 / 0.7331 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004215/0.6696, allocations: 88 kB / 0.7332 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.775e-05/0.6696, allocations: 52 kB / 0.7332 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/0.6758, allocations: 2.975 MB / 0.7361 GB, free: 1.117 MB / 0.5261 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.01862/0.6945, allocations: 9.9 MB / 0.7458 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/0.706, allocations: 4.854 MB / 0.7506 GB, free: 1.805 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003502/0.7064, allocations: 45.95 kB / 0.7506 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004706/0.7111, allocations: 2.408 MB / 0.7529 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=247): time 4.398e-06/0.7111, allocations: 0 / 0.7529 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of matching and sorting (n=247): time 0.3757/1.087, allocations: 33.27 MB / 0.7854 GB, free: 119 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/1.087, allocations: 182.7 kB / 0.7856 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002972/1.09, allocations: 1.931 MB / 0.7875 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005471/1.09, allocations: 69.45 kB / 0.7876 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008547/1.091, allocations: 1.214 MB / 0.7887 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008627/1.092, allocations: 0.8426 MB / 0.7896 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.092, allocations: 47.88 kB / 0.7896 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.092, allocations: 396.6 kB / 0.79 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/1.096, allocations: 1.88 MB / 0.7918 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003864/1.1, allocations: 2.193 MB / 0.794 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004002/1.104, allocations: 2.095 MB / 0.796 GB, free: 117 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.104, allocations: 2.75 kB / 0.796 GB, free: 117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04434/1.148, allocations: 14.46 MB / 0.8101 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/1.149, allocations: 116.2 kB / 0.8103 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.149, allocations: 6.625 kB / 0.8103 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/1.167, allocations: 6.37 MB / 0.8165 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/1.17, allocations: 410.5 kB / 0.8169 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05804/1.228, allocations: 26.52 MB / 0.8428 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004254/1.232, allocations: 0.5381 MB / 0.8433 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004454/1.232, allocations: 88.17 kB / 0.8434 GB, free: 109.1 MB / 0.5573 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.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 (224): * Single equations (assignments): 219 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001376/1.234, allocations: 0.5085 MB / 0.8439 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/1.234, allocations: 297.8 kB / 0.8442 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04122/1.276, allocations: 14.73 MB / 0.8585 GB, free: 101.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/1.276, allocations: 27.95 kB / 0.8586 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/1.276, allocations: 20 kB / 0.8586 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-05/1.276, allocations: 10.88 kB / 0.8586 GB, free: 101.1 MB / 0.5573 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.0444/1.32, allocations: 18.27 MB / 0.8764 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.32, allocations: 3.938 kB / 0.8764 GB, free: 87.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/1.322, allocations: 244.5 kB / 0.8767 GB, free: 86.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01739/1.339, allocations: 6.232 MB / 0.8828 GB, free: 82.09 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008185/1.34, allocations: 51.23 kB / 0.8828 GB, free: 82.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05524/1.395, allocations: 26.91 MB / 0.9091 GB, free: 57.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.396, allocations: 0 / 0.9091 GB, free: 57.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04376/1.439, allocations: 17.31 MB / 0.926 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001089/1.44, allocations: 412.1 kB / 0.9264 GB, free: 39.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006574/1.441, allocations: 47.95 kB / 0.9264 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002923/1.444, allocations: 414.7 kB / 0.9268 GB, free: 38.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001979/1.446, allocations: 0.5839 MB / 0.9274 GB, free: 38.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/1.446, allocations: 67.98 kB / 0.9275 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002027/1.448, allocations: 1.488 MB / 0.9289 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/1.448, allocations: 0 / 0.9289 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003078/1.451, allocations: 1.117 MB / 0.93 GB, free: 35.55 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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.04409/1.495, allocations: 18.09 MB / 0.9477 GB, free: 17.35 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.512, allocations: 7.021 MB / 0.9545 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.512, allocations: 0 / 0.9545 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01299/1.525, allocations: 5.065 MB / 0.9595 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.527, allocations: 227.5 kB / 0.9597 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/1.54, allocations: 11.82 MB / 0.9712 GB, free: 8.805 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001404/1.541, allocations: 1.864 MB / 0.9731 GB, free: 6.906 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001101/1.542, allocations: 215.3 kB / 0.9733 GB, free: 6.699 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.544, allocations: 1.202 MB / 0.9744 GB, free: 5.496 MB / 0.573 GB Notification: Performance of SimCode: time 1.372e-06/1.544, allocations: 0 / 0.9744 GB, free: 5.496 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.37/1.914, allocations: 77.82 MB / 1.05 GB, free: 136.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/1.914, allocations: 225.4 kB / 1.051 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.834/6.748, allocations: 4 kB / 1.051 GB, free: 136.6 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)