Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.00583/0.00583, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.401/1.401, allocations: 223.2 MB / 239 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 99.42 kB / 290.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4832/0.4832, allocations: 78.52 MB / 419.8 MB, free: 36.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003936, allocations: 8 kB / 499.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1542, allocations: 69.36 MB / 0.5558 GB, free: 1.688 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5619, allocations: 99.26 MB / 0.6527 GB, free: 2.898 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5623, allocations: 79.77 kB / 0.6528 GB, free: 2.855 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08793/0.6502, allocations: 32.23 MB / 0.6843 GB, free: 3.105 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6502, allocations: 0 / 0.6843 GB, free: 3.105 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.209e-05/0.6503, allocations: 27.88 kB / 0.6843 GB, free: 3.078 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005714/0.6561, allocations: 2.065 MB / 0.6863 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.6561, allocations: 12.03 kB / 0.6863 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000346/0.6565, allocations: 126.7 kB / 0.6865 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.66, allocations: 0.5641 MB / 0.687 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.6621, allocations: 0.8212 MB / 0.6878 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003092/0.6625, allocations: 264.1 kB / 0.6881 GB, free: 15.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.6626, allocations: 83.89 kB / 0.6882 GB, free: 14.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.665, allocations: 1.145 MB / 0.6893 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.665, allocations: 0 / 0.6893 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.6651, allocations: 36 kB / 0.6893 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.6652, allocations: 16 kB / 0.6893 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.6673, allocations: 1.058 MB / 0.6904 GB, free: 12.72 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.007592/0.6749, allocations: 3.866 MB / 0.6941 GB, free: 8.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008201/0.6831, allocations: 2.909 MB / 0.697 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.6834, allocations: 12.98 kB / 0.697 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002086/0.6855, allocations: 0.8907 MB / 0.6978 GB, free: 4.758 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 4.097e-06/0.6855, allocations: 0 / 0.6978 GB, free: 4.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.02903/0.7146, allocations: 8.434 MB / 0.7061 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.7147, allocations: 129.3 kB / 0.7062 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.7167, allocations: 0.9533 MB / 0.7071 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003093/0.717, allocations: 41.7 kB / 0.7072 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.7174, allocations: 0.5131 MB / 0.7077 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.7179, allocations: 350.9 kB / 0.708 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.718, allocations: 20 kB / 0.708 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7181, allocations: 341.9 kB / 0.7084 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.7196, allocations: 0.6543 MB / 0.709 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.7211, allocations: 0.7887 MB / 0.7098 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.7226, allocations: 0.755 MB / 0.7105 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.7226, allocations: 4 kB / 0.7105 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01416/0.7368, allocations: 4.708 MB / 0.7151 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/0.7369, allocations: 59.41 kB / 0.7152 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.7369, allocations: 7.984 kB / 0.7152 GB, free: 2.805 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0068/0.7437, allocations: 1.916 MB / 0.717 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.7452, allocations: 203.7 kB / 0.7172 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02195/0.7671, allocations: 9.392 MB / 0.7264 GB, free: 7.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.7691, allocations: 211 kB / 0.7266 GB, free: 6.953 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.7693, allocations: 39.98 kB / 0.7266 GB, free: 6.914 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007099/0.77, allocations: 293.6 kB / 0.7269 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.7703, allocations: 134.3 kB / 0.7271 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01399/0.7843, allocations: 4.752 MB / 0.7317 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.7844, allocations: 12 kB / 0.7317 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.7844, allocations: 7.953 kB / 0.7317 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.898e-05/0.7845, allocations: 11.97 kB / 0.7317 GB, free: 1.672 MB / 0.5105 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.01684/0.8013, allocations: 6.324 MB / 0.7379 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.8014, allocations: 7.969 kB / 0.7379 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008073/0.8022, allocations: 99.89 kB / 0.738 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006099/0.8083, allocations: 1.873 MB / 0.7398 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003116/0.8087, allocations: 20 kB / 0.7399 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02122/0.8299, allocations: 10.13 MB / 0.7497 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.83, allocations: 0 / 0.7497 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.8461, allocations: 5.705 MB / 0.7553 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.8469, allocations: 225.1 kB / 0.7555 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002898/0.8472, allocations: 27.98 kB / 0.7556 GB, free: 8.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.8485, allocations: 143.9 kB / 0.7557 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006442/0.8492, allocations: 188.7 kB / 0.7559 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.8493, allocations: 31.98 kB / 0.7559 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001315/0.8506, allocations: 0.7475 MB / 0.7566 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8506, allocations: 4 kB / 0.7566 GB, free: 7.711 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001785/0.8524, allocations: 447.4 kB / 0.7571 GB, free: 7.273 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,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 (65): * Single equations (assignments): 62 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01633/0.8688, allocations: 6.365 MB / 0.7633 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00652/0.8753, allocations: 2.514 MB / 0.7657 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.8754, allocations: 128 / 0.7657 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00455/0.8799, allocations: 1.822 MB / 0.7675 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.8811, allocations: 110.9 kB / 0.7676 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00641/0.8875, allocations: 5.239 MB / 0.7727 GB, free: 7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.8884, allocations: 1.155 MB / 0.7739 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005001/0.8889, allocations: 98.88 kB / 0.774 GB, free: 5.711 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/0.8896, allocations: 471.3 kB / 0.7744 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.8896, allocations: 0 / 0.7744 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3246/1.214, allocations: 31.07 MB / 0.8048 GB, free: 155.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.214, allocations: 209.8 kB / 0.805 GB, free: 154.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/4.269, allocations: 1.406 kB / 0.805 GB, free: 154.9 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)