Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.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.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",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.001464/0.001464, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0008968/0.0008967, allocations: 88.52 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4793/0.4793, allocations: 78.94 MB / 410.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.155e-05, allocations: 4 kB / 486 MB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1409, allocations: 69.52 MB / 0.5425 GB, free: 5.812 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.5475, allocations: 98.69 MB / 0.6389 GB, free: 15.28 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5479, allocations: 82.45 kB / 0.639 GB, free: 15.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08327/0.6311, allocations: 30.72 MB / 0.669 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6312, allocations: 0 / 0.669 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001128/0.6313, allocations: 24.75 kB / 0.669 GB, free: 0.5 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005/0.6363, allocations: 1.723 MB / 0.6707 GB, free: 14.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6364, allocations: 8.031 kB / 0.6707 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003685/0.6401, allocations: 0.5641 MB / 0.6712 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.642, allocations: 0.7881 MB / 0.672 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.6423, allocations: 214.4 kB / 0.6722 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.6425, allocations: 44 kB / 0.6723 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001681/0.6442, allocations: 0.8084 MB / 0.6731 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001657/0.6459, allocations: 0.8421 MB / 0.6739 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.6459, allocations: 4 kB / 0.6739 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.6461, allocations: 0 / 0.6739 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.6461, allocations: 19.94 kB / 0.6739 GB, free: 11.33 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.007432/0.6535, allocations: 3.79 MB / 0.6776 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007229/0.6608, allocations: 2.588 MB / 0.6801 GB, free: 4.676 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/0.6616, allocations: 0.5212 MB / 0.6806 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.6617, allocations: 16.75 kB / 0.6807 GB, free: 4.137 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.6618, allocations: 43.34 kB / 0.6807 GB, free: 4.086 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.866e-06/0.6618, allocations: 3.938 kB / 0.6807 GB, free: 4.082 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01194/0.6737, allocations: 3.828 MB / 0.6844 GB, free: 244 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.6739, allocations: 141.3 kB / 0.6846 GB, free: 72 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.6756, allocations: 0.8351 MB / 0.6854 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.6758, allocations: 26.27 kB / 0.6854 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.6763, allocations: 0.5129 MB / 0.6859 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/0.6768, allocations: 327 kB / 0.6862 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.6769, allocations: 0 / 0.6862 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.677, allocations: 341.9 kB / 0.6865 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.6778, allocations: 434.6 kB / 0.687 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.6786, allocations: 0.56 MB / 0.6875 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/0.6795, allocations: 494.2 kB / 0.688 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6795, allocations: 0 / 0.688 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01224/0.6918, allocations: 3.887 MB / 0.6918 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004959/0.6923, allocations: 1.203 MB / 0.693 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.6923, allocations: 4 kB / 0.693 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005146/0.6975, allocations: 1.425 MB / 0.6943 GB, free: 5.875 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.6988, allocations: 191.7 kB / 0.6945 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.7122, allocations: 6.268 MB / 0.7007 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.7139, allocations: 171.2 kB / 0.7008 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.7141, allocations: 43.92 kB / 0.7009 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.7142, allocations: 4 kB / 0.7009 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01203/0.7262, allocations: 3.735 MB / 0.7045 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.7263, allocations: 4 kB / 0.7045 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004924/0.7312, allocations: 1.418 MB / 0.7059 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7323, allocations: 191.6 kB / 0.7061 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/0.7454, allocations: 6.263 MB / 0.7122 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.7471, allocations: 163.3 kB / 0.7124 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.7473, allocations: 32 kB / 0.7124 GB, free: 3.145 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.000467/0.7478, allocations: 171.2 kB / 0.7125 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01195/0.7598, allocations: 3.816 MB / 0.7163 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005888/0.7604, allocations: 130.4 kB / 0.7164 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.7726, allocations: 3.913 MB / 0.7202 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.7726, allocations: 12 kB / 0.7202 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.7727, allocations: 4 kB / 0.7202 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/0.7727, allocations: 7.984 kB / 0.7202 GB, free: 11.05 MB / 0.5261 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.01475/0.7875, allocations: 5.479 MB / 0.7256 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/0.7875, allocations: 0 / 0.7256 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/0.7884, allocations: 120.8 kB / 0.7257 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004767/0.7932, allocations: 1.397 MB / 0.7271 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/0.7935, allocations: 4 kB / 0.7271 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.8049, allocations: 5.621 MB / 0.7326 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.8049, allocations: 4.125 kB / 0.7326 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.818, allocations: 4.664 MB / 0.7371 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/0.8186, allocations: 223.4 kB / 0.7373 GB, free: 9.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004373/0.819, allocations: 4 kB / 0.7373 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.8205, allocations: 123.9 kB / 0.7375 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005467/0.821, allocations: 180.5 kB / 0.7376 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.8212, allocations: 24.75 kB / 0.7377 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001035/0.8222, allocations: 0.6415 MB / 0.7383 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8222, allocations: 4 kB / 0.7383 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002287/0.8245, allocations: 0.6123 MB / 0.7389 GB, free: 7.691 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01319/0.8377, allocations: 5.329 MB / 0.7441 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009109/0.8469, allocations: 3.483 MB / 0.7475 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8469, allocations: 7.938 kB / 0.7475 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003895/0.8508, allocations: 1.411 MB / 0.7489 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.8519, allocations: 94.98 kB / 0.749 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.8568, allocations: 2.006 MB / 0.7509 GB, free: 11.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007599/0.8576, allocations: 1.166 MB / 0.7521 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009301/0.8585, allocations: 205.6 kB / 0.7523 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005438/0.8591, allocations: 459.3 kB / 0.7527 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.8591, allocations: 0 / 0.7527 GB, free: 9.352 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3428/1.202, allocations: 35.69 MB / 0.7875 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/1.202, allocations: 145.9 kB / 0.7877 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/4.282, allocations: 1.828 kB / 0.7877 GB, free: 142.5 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)