Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_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.001/0.001, allocations: 175.1 kB / 12.73 MB, free: 2.59 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.343/1.343, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008897/0.0008896, allocations: 92.36 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4485/0.4485, allocations: 78.08 MB / 414.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.186e-05, allocations: 4 kB / 491.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3429, allocations: 69.34 MB / 0.5481 GB, free: 20.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4683, allocations: 100.6 MB / 0.6464 GB, free: 15.86 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4686, allocations: 79.95 kB / 0.6464 GB, free: 15.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4635/0.9321, allocations: 70.14 MB / 0.7149 GB, free: 94.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.9322, allocations: 0 / 0.7149 GB, free: 94.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002367/0.9324, allocations: 56 kB / 0.715 GB, free: 93.99 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01245/0.9449, allocations: 4.061 MB / 0.719 GB, free: 89.85 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.9449, allocations: 15.97 kB / 0.719 GB, free: 89.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.946, allocations: 299.3 kB / 0.7193 GB, free: 89.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009771/0.9558, allocations: 1.607 MB / 0.7208 GB, free: 87.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004053/0.9598, allocations: 1.651 MB / 0.7224 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006463/0.9605, allocations: 0.7448 MB / 0.7232 GB, free: 85.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000813/0.9613, allocations: 211.9 kB / 0.7234 GB, free: 85.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005527/0.9669, allocations: 2.583 MB / 0.7259 GB, free: 82.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.967, allocations: 7.938 kB / 0.7259 GB, free: 82.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.9674, allocations: 88 kB / 0.726 GB, free: 82.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.9674, allocations: 48 kB / 0.726 GB, free: 82.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/0.9717, allocations: 2.336 MB / 0.7283 GB, free: 79.98 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01679/0.9885, allocations: 9.967 MB / 0.738 GB, free: 69.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009012/0.9976, allocations: 4.198 MB / 0.7421 GB, free: 65.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.9999, allocations: 1.539 MB / 0.7436 GB, free: 63.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/1, allocations: 49.95 kB / 0.7437 GB, free: 63.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003063/1.003, allocations: 1.801 MB / 0.7455 GB, free: 61.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=249): time 5.1e-06/1.003, allocations: 0 / 0.7455 GB, free: 61.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=249): time 0.03663/1.04, allocations: 12.58 MB / 0.7577 GB, free: 49.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/1.04, allocations: 184.2 kB / 0.7579 GB, free: 49.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/1.043, allocations: 1.879 MB / 0.7597 GB, free: 47.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007122/1.044, allocations: 69.7 kB / 0.7598 GB, free: 47.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006867/1.045, allocations: 1.219 MB / 0.761 GB, free: 45.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008848/1.046, allocations: 0.8585 MB / 0.7618 GB, free: 44.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.046, allocations: 48 kB / 0.7619 GB, free: 44.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/1.046, allocations: 407 kB / 0.7623 GB, free: 44.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/1.048, allocations: 1.267 MB / 0.7635 GB, free: 43.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/1.05, allocations: 1.567 MB / 0.765 GB, free: 41.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/1.053, allocations: 1.496 MB / 0.7665 GB, free: 40 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/1.053, allocations: 4 kB / 0.7665 GB, free: 40 MB / 490.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03731/1.09, allocations: 12.64 MB / 0.7789 GB, free: 27.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/1.09, allocations: 118.8 kB / 0.779 GB, free: 27.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/1.09, allocations: 8 kB / 0.779 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/1.106, allocations: 5.282 MB / 0.7841 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/1.109, allocations: 435.4 kB / 0.7846 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03825/1.147, allocations: 17.87 MB / 0.802 GB, free: 3.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/1.152, allocations: 0.5407 MB / 0.8025 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004039/1.152, allocations: 87.97 kB / 0.8026 GB, free: 2.746 MB / 490.7 MB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006145/1.153, allocations: 297.5 kB / 0.8029 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007136/1.153, allocations: 304.2 kB / 0.8032 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03951/1.193, allocations: 12.93 MB / 0.8158 GB, free: 5.109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.818e-05/1.193, allocations: 24 kB / 0.8158 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.37e-05/1.193, allocations: 24 kB / 0.8159 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.805e-05/1.193, allocations: 11.95 kB / 0.8159 GB, free: 5.051 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.04523/1.238, allocations: 16.47 MB / 0.832 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/1.238, allocations: 0 / 0.832 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.24, allocations: 255.7 kB / 0.8322 GB, free: 4.121 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01634/1.256, allocations: 5.044 MB / 0.8371 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006323/1.257, allocations: 51.98 kB / 0.8372 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04031/1.297, allocations: 19.28 MB / 0.856 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.297, allocations: 128 / 0.856 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04336/1.341, allocations: 14.9 MB / 0.8706 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.342, allocations: 420.8 kB / 0.871 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006676/1.343, allocations: 44 kB / 0.871 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003258/1.346, allocations: 415.6 kB / 0.8714 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002185/1.348, allocations: 0.5759 MB / 0.872 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002284/1.348, allocations: 63.98 kB / 0.872 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002174/1.351, allocations: 1.445 MB / 0.8734 GB, free: 9.266 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.351, allocations: 4 kB / 0.8734 GB, free: 9.262 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003612/1.354, allocations: 1.116 MB / 0.8745 GB, free: 8.145 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04289/1.397, allocations: 15.67 MB / 0.8898 GB, free: 8.332 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01521/1.412, allocations: 5.787 MB / 0.8955 GB, free: 2.441 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.412, allocations: 0 / 0.8955 GB, free: 2.441 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.3027/1.715, allocations: 4.406 MB / 0.8998 GB, free: 177 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/1.717, allocations: 234.7 kB / 0.9 GB, free: 177 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.729, allocations: 4.656 MB / 0.9046 GB, free: 175.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001687/1.731, allocations: 1.879 MB / 0.9064 GB, free: 175.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001206/1.732, allocations: 214.3 kB / 0.9066 GB, free: 175 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001597/1.734, allocations: 1.212 MB / 0.9078 GB, free: 175 MB / 0.573 GB Notification: Performance of SimCode: time 1.132e-06/1.734, allocations: 3.094 kB / 0.9078 GB, free: 175 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/1.86, allocations: 79.28 MB / 0.9852 GB, free: 123.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/1.86, allocations: 191.3 kB / 0.9854 GB, free: 123.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.679/6.539, allocations: 7.438 kB / 0.9854 GB, free: 123.4 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)