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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 110.2 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 249.8 MB, free: 9.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 208.1 kB / 306 MB, free: 4.281 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.5294/0.5294, allocations: 79.72 MB / 441.8 MB, free: 124 kB / 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002387/0.002387, allocations: 91.81 kB / 0.5878 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1766, allocations: 73.26 MB / 0.6594 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.009073/0.1857, allocations: 6.75 MB / 0.666 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005556/0.1912, allocations: 2.068 MB / 0.668 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.1923, allocations: 12 kB / 0.668 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.1934, allocations: 237.9 kB / 0.6682 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.1966, allocations: 0.8985 MB / 0.6691 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1982, allocations: 0.6424 MB / 0.6697 GB, free: 13.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002505/0.2007, allocations: 1.674 MB / 0.6714 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004744/0.2012, allocations: 226.5 kB / 0.6716 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.2024, allocations: 0.7198 MB / 0.6723 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.2035, allocations: 0.8907 MB / 0.6731 GB, free: 9.992 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.2038, allocations: 132 kB / 0.6733 GB, free: 9.863 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.2044, allocations: 283.9 kB / 0.6735 GB, free: 9.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.2048, allocations: 354.5 kB / 0.6739 GB, free: 9.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007333/0.2055, allocations: 0.6991 MB / 0.6746 GB, free: 8.535 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002404/0.2079, allocations: 1.762 MB / 0.6763 GB, free: 6.766 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2079, allocations: 0 / 0.6763 GB, free: 6.766 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.208, allocations: 0 / 0.6763 GB, free: 6.766 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.208, allocations: 0 / 0.6763 GB, free: 6.766 MB / 478.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.0106/0.2186, allocations: 2.843 MB / 0.6791 GB, free: 3.855 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.2186, allocations: 15.97 kB / 0.6791 GB, free: 3.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.2188, allocations: 126.7 kB / 0.6792 GB, free: 3.707 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.2243, allocations: 0.803 MB / 0.68 GB, free: 2.902 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.2264, allocations: 0.9383 MB / 0.6809 GB, free: 1.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/0.2268, allocations: 260.2 kB / 0.6811 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001978/0.227, allocations: 87.98 kB / 0.6812 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.2295, allocations: 1.118 MB / 0.6823 GB, free: 412 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2295, allocations: 0 / 0.6823 GB, free: 412 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.2296, allocations: 32 kB / 0.6823 GB, free: 380 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2296, allocations: 20 kB / 0.6824 GB, free: 360 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.232, allocations: 1.003 MB / 0.6833 GB, free: 15.34 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 preOpt removeSimpleEquations (simulation): time 0.008203/0.2402, allocations: 3.907 MB / 0.6872 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008327/0.2485, allocations: 2.325 MB / 0.6894 GB, free: 8.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.2504, allocations: 0.6331 MB / 0.6901 GB, free: 8.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.2505, allocations: 20.98 kB / 0.6901 GB, free: 8.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001934/0.2525, allocations: 0.845 MB / 0.6909 GB, free: 7.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=98): time 3.637e-06/0.2525, allocations: 0 / 0.6909 GB, free: 7.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=98): time 0.03097/0.2834, allocations: 7.047 MB / 0.6978 GB, free: 204 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.2835, allocations: 123.7 kB / 0.6979 GB, free: 56 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3227/0.6063, allocations: 1.13 MB / 0.699 GB, free: 35.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004013/0.6067, allocations: 47.97 kB / 0.699 GB, free: 35.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.6071, allocations: 0.5052 MB / 0.6995 GB, free: 35.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004353/0.6075, allocations: 382.2 kB / 0.6999 GB, free: 35.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006253/0.6081, allocations: 304.7 kB / 0.7002 GB, free: 35.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.125e-05/0.6082, allocations: 304.2 kB / 0.7005 GB, free: 35.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/0.6101, allocations: 0.7943 MB / 0.7013 GB, free: 35.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.6122, allocations: 0.9749 MB / 0.7022 GB, free: 34.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03003/0.6423, allocations: 6.138 MB / 0.7082 GB, free: 33.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/0.6423, allocations: 0.9688 kB / 0.7082 GB, free: 33.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01722/0.6595, allocations: 4.493 MB / 0.7126 GB, free: 32.54 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.967e-05/0.6596, allocations: 64.61 kB / 0.7127 GB, free: 32.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.6596, allocations: 2.531 kB / 0.7127 GB, free: 32.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007241/0.6668, allocations: 1.662 MB / 0.7143 GB, free: 32.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.6687, allocations: 296.7 kB / 0.7146 GB, free: 32.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02221/0.6909, allocations: 8.641 MB / 0.723 GB, free: 28.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.6933, allocations: 208.5 kB / 0.7232 GB, free: 28.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002074/0.6935, allocations: 62.67 kB / 0.7233 GB, free: 28.02 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.0007333/0.6943, allocations: 303.8 kB / 0.7236 GB, free: 27.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.6946, allocations: 135 kB / 0.7237 GB, free: 27.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.7082, allocations: 3.894 MB / 0.7275 GB, free: 25.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.132e-05/0.7083, allocations: 11.84 kB / 0.7275 GB, free: 25.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/0.7083, allocations: 8.75 kB / 0.7275 GB, free: 25.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.101e-05/0.7083, allocations: 11.91 kB / 0.7275 GB, free: 25.91 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.01604/0.7244, allocations: 5.517 MB / 0.7329 GB, free: 22.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/0.7244, allocations: 6.219 kB / 0.7329 GB, free: 22.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.7253, allocations: 103.1 kB / 0.733 GB, free: 22.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005458/0.7308, allocations: 1.598 MB / 0.7346 GB, free: 21.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002795/0.7311, allocations: 28.86 kB / 0.7346 GB, free: 21.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.7508, allocations: 9.641 MB / 0.744 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.7508, allocations: 8 kB / 0.744 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/0.7656, allocations: 4.787 MB / 0.7487 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007165/0.7663, allocations: 238.6 kB / 0.7489 GB, free: 6.605 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.7666, allocations: 20 kB / 0.7489 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.7679, allocations: 115.9 kB / 0.749 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006554/0.7686, allocations: 192.7 kB / 0.7492 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/0.7686, allocations: 24 kB / 0.7493 GB, free: 6.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.7697, allocations: 0.7713 MB / 0.75 GB, free: 5.484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7697, allocations: 0 / 0.75 GB, free: 5.484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001752/0.7714, allocations: 492.4 kB / 0.7505 GB, free: 5.016 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.01501/0.7865, allocations: 5.385 MB / 0.7557 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008413/0.7949, allocations: 2.479 MB / 0.7582 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7949, allocations: 0 / 0.7582 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005157/0.8, allocations: 1.557 MB / 0.7597 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.8014, allocations: 110 kB / 0.7598 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/0.8506, allocations: 16.79 MB / 0.7762 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.8518, allocations: 1.139 MB / 0.7773 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008723/0.8526, allocations: 128.3 kB / 0.7774 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009127/0.8536, allocations: 491.3 kB / 0.7779 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of SimCode: time 2.424e-06/0.8536, allocations: 0 / 0.7779 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1173/0.9708, allocations: 36.06 MB / 0.8131 GB, free: 4.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16.12, allocations: 21.3 kB / 0.8131 GB, free: 4.754 MB / 0.545 GB " [Timeout remaining time 644] (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: 19.903280305996304] Failed to read output from testmodel.py, exit status != 0: 16.240245774999494 16.261196188 16.049063782 Calling exit ...