Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 109.2 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.1 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 191.8 kB / 294.4 MB, free: 12.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4205/0.4205, allocations: 78.52 MB / 425.1 MB, free: 11.17 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 83.86 kB / 0.5617 GB, free: 18.87 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1317, allocations: 68.18 MB / 0.6282 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.00817/0.14, allocations: 6.694 MB / 0.6348 GB, free: 7.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.1445, allocations: 2.021 MB / 0.6368 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007537/0.1452, allocations: 8 kB / 0.6368 GB, free: 5.914 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.146, allocations: 245.9 kB / 0.637 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.1482, allocations: 0.8237 MB / 0.6378 GB, free: 4.852 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.1496, allocations: 0.6456 MB / 0.6384 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.1516, allocations: 1.671 MB / 0.6401 GB, free: 2.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000489/0.1521, allocations: 338.4 kB / 0.6404 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009016/0.153, allocations: 0.6886 MB / 0.6411 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.154, allocations: 0.8752 MB / 0.6419 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.1543, allocations: 132 kB / 0.642 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.1548, allocations: 263.9 kB / 0.6423 GB, free: 240 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.1552, allocations: 354.6 kB / 0.6426 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006809/0.1558, allocations: 0.6991 MB / 0.6433 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.1578, allocations: 1.743 MB / 0.645 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1578, allocations: 0 / 0.645 GB, free: 13.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1578, allocations: 0 / 0.645 GB, free: 13.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.1579, allocations: 0 / 0.645 GB, free: 13.43 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009204/0.1671, allocations: 2.823 MB / 0.6478 GB, free: 10.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1671, allocations: 8.031 kB / 0.6478 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.1673, allocations: 126.7 kB / 0.6479 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004945/0.1723, allocations: 0.7951 MB / 0.6487 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.174, allocations: 0.9384 MB / 0.6496 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003657/0.1744, allocations: 260.2 kB / 0.6498 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.1745, allocations: 87.95 kB / 0.6499 GB, free: 8.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.1769, allocations: 1.11 MB / 0.651 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1769, allocations: 0 / 0.651 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.177, allocations: 32 kB / 0.651 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.177, allocations: 16 kB / 0.6511 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.1792, allocations: 0.9995 MB / 0.652 GB, free: 6.062 MB / 462.1 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.006841/0.186, allocations: 3.907 MB / 0.6558 GB, free: 1.973 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007801/0.1939, allocations: 2.41 MB / 0.6582 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.1954, allocations: 0.6918 MB / 0.6589 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.1955, allocations: 20.95 kB / 0.6589 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.1973, allocations: 0.8372 MB / 0.6597 GB, free: 13.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 3.065e-06/0.1973, allocations: 0 / 0.6597 GB, free: 13.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.02894/0.2262, allocations: 7.086 MB / 0.6666 GB, free: 6.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.2264, allocations: 127.7 kB / 0.6668 GB, free: 6.602 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.2284, allocations: 1.135 MB / 0.6679 GB, free: 5.453 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.2286, allocations: 45.7 kB / 0.6679 GB, free: 5.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004889/0.2291, allocations: 0.5054 MB / 0.6684 GB, free: 4.891 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004461/0.2295, allocations: 384.8 kB / 0.6688 GB, free: 4.512 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007023/0.2303, allocations: 299.5 kB / 0.669 GB, free: 4.215 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2304, allocations: 305.1 kB / 0.6693 GB, free: 3.914 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.2322, allocations: 0.8003 MB / 0.6701 GB, free: 3.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.2342, allocations: 0.9655 MB / 0.6711 GB, free: 2.105 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02581/0.26, allocations: 5.926 MB / 0.6769 GB, free: 12.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.2601, allocations: 0 / 0.6769 GB, free: 12.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01513/0.2752, allocations: 4.517 MB / 0.6813 GB, free: 7.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/0.2753, allocations: 59.41 kB / 0.6813 GB, free: 7.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.2754, allocations: 4 kB / 0.6813 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006588/0.282, allocations: 1.666 MB / 0.6829 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.2835, allocations: 295.5 kB / 0.6832 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2878/0.5713, allocations: 8.618 MB / 0.6916 GB, free: 51.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.5733, allocations: 211.4 kB / 0.6918 GB, free: 51.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.5737, allocations: 60.5 kB / 0.6919 GB, free: 51.8 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007895/0.5745, allocations: 306.3 kB / 0.6922 GB, free: 51.65 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.5748, allocations: 138 kB / 0.6923 GB, free: 51.65 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.5883, allocations: 3.921 MB / 0.6962 GB, free: 51.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.5883, allocations: 15.34 kB / 0.6962 GB, free: 51.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/0.5883, allocations: 6.406 kB / 0.6962 GB, free: 51.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.5884, allocations: 5.297 kB / 0.6962 GB, free: 51.35 MB / 494.1 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 postOpt removeSimpleEquations (simulation): time 0.01565/0.604, allocations: 5.552 MB / 0.7016 GB, free: 49.53 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6041, allocations: 1.5 kB / 0.7016 GB, free: 49.53 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.6047, allocations: 107.5 kB / 0.7017 GB, free: 49.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005309/0.61, allocations: 1.593 MB / 0.7033 GB, free: 49.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.6101, allocations: 25.98 kB / 0.7033 GB, free: 49.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/0.6294, allocations: 9.631 MB / 0.7127 GB, free: 43.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6294, allocations: 1.375 kB / 0.7127 GB, free: 43.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/0.6432, allocations: 4.818 MB / 0.7174 GB, free: 42.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.6436, allocations: 238.3 kB / 0.7176 GB, free: 42.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003208/0.644, allocations: 20.81 kB / 0.7177 GB, free: 42.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.6453, allocations: 107 kB / 0.7178 GB, free: 42.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005951/0.6459, allocations: 197.9 kB / 0.7179 GB, free: 42.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.646, allocations: 27.73 kB / 0.718 GB, free: 42.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.6472, allocations: 0.7657 MB / 0.7187 GB, free: 41.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6472, allocations: 0 / 0.7187 GB, free: 41.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001619/0.6488, allocations: 497.8 kB / 0.7192 GB, free: 41.53 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01358/0.6624, allocations: 5.411 MB / 0.7245 GB, free: 38.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006388/0.6688, allocations: 2.628 MB / 0.727 GB, free: 36.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6689, allocations: 0 / 0.727 GB, free: 36.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004054/0.6729, allocations: 1.617 MB / 0.7286 GB, free: 34.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6742, allocations: 119 kB / 0.7287 GB, free: 34.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/0.7096, allocations: 16.82 MB / 0.7452 GB, free: 17.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.7102, allocations: 1.128 MB / 0.7463 GB, free: 16.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004385/0.7106, allocations: 120.3 kB / 0.7464 GB, free: 16.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005559/0.7112, allocations: 496.2 kB / 0.7468 GB, free: 15.9 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7112, allocations: 0 / 0.7468 GB, free: 15.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07887/0.7901, allocations: 35.59 MB / 0.7816 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.81, allocations: 4.594 kB / 0.7816 GB, free: 12.51 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.912976696970873] Failed to read output from testmodel.py, exit status != 0: 14.920394083019346 14.933565692 14.773364488 Calling exit ...