Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.001442/0.001442, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.52/1.52, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.00163/0.00163, allocations: 207.5 kB / 309.2 MB, free: 3.105 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.6854/0.6854, allocations: 107.3 MB / 473 MB, free: 29.78 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",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.002545/0.002545, allocations: 85.14 kB / 0.6332 GB, free: 29.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1561, allocations: 80.17 MB / 0.7115 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.008088/0.1642, allocations: 5.836 MB / 0.7172 GB, free: 1.664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004236/0.1684, allocations: 1.928 MB / 0.7191 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005111/0.1689, allocations: 8 kB / 0.7191 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007294/0.1697, allocations: 241.9 kB / 0.7194 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.1717, allocations: 0.8453 MB / 0.7202 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1731, allocations: 0.6337 MB / 0.7208 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.1749, allocations: 1.616 MB / 0.7224 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004082/0.1753, allocations: 218.8 kB / 0.7226 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008977/0.1762, allocations: 0.6769 MB / 0.7232 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/0.1772, allocations: 0.762 MB / 0.724 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.1773, allocations: 123.9 kB / 0.7241 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.1779, allocations: 275.9 kB / 0.7244 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.1782, allocations: 326.6 kB / 0.7247 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/0.1787, allocations: 0.5477 MB / 0.7252 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.1806, allocations: 1.708 MB / 0.7269 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1806, allocations: 4 kB / 0.7269 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1806, allocations: 0 / 0.7269 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.1806, allocations: 0 / 0.7269 GB, free: 7.734 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.00911/0.1897, allocations: 2.809 MB / 0.7296 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1898, allocations: 16.03 kB / 0.7296 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.1899, allocations: 126.6 kB / 0.7298 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005026/0.195, allocations: 0.7951 MB / 0.7305 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.1966, allocations: 0.8307 MB / 0.7314 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.197, allocations: 341.3 kB / 0.7317 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.1971, allocations: 83.95 kB / 0.7318 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.1994, allocations: 1.115 MB / 0.7328 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.1994, allocations: 0 / 0.7328 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-05/0.1995, allocations: 28 kB / 0.7329 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.1996, allocations: 20 kB / 0.7329 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002155/0.2017, allocations: 1.009 MB / 0.7339 GB, free: 392 kB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.007105/0.2088, allocations: 2.983 MB / 0.7368 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007445/0.2163, allocations: 2.021 MB / 0.7388 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.2177, allocations: 0.6427 MB / 0.7394 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.2178, allocations: 17 kB / 0.7394 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/0.2196, allocations: 0.8467 MB / 0.7402 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.2196, allocations: 0 / 0.7402 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96): time 0.02866/0.2482, allocations: 6.943 MB / 0.747 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2484, allocations: 127.8 kB / 0.7471 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.2504, allocations: 1.087 MB / 0.7482 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.2506, allocations: 41.7 kB / 0.7482 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.2511, allocations: 0.5014 MB / 0.7487 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/0.2515, allocations: 368.9 kB / 0.7491 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006171/0.2522, allocations: 287.5 kB / 0.7494 GB, free: 308 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2523, allocations: 305.1 kB / 0.7496 GB, free: 0 / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.2541, allocations: 0.8154 MB / 0.7504 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.2561, allocations: 0.9844 MB / 0.7514 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02456/0.2807, allocations: 5.798 MB / 0.7571 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.2807, allocations: 0 / 0.7571 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01413/0.2948, allocations: 4.363 MB / 0.7613 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/0.2949, allocations: 63.41 kB / 0.7614 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2949, allocations: 4 kB / 0.7614 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005569/0.3005, allocations: 1.507 MB / 0.7629 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.302, allocations: 303.5 kB / 0.7632 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02122/0.3232, allocations: 8.003 MB / 0.771 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.3252, allocations: 203 kB / 0.7712 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/0.3254, allocations: 55.97 kB / 0.7712 GB, free: 9.578 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = \"1\" fixed = true ) \"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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008925/0.3263, allocations: 303 kB / 0.7715 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004494/0.3268, allocations: 135.1 kB / 0.7716 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/0.34, allocations: 3.867 MB / 0.7754 GB, free: 5.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.34, allocations: 12 kB / 0.7754 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.466e-05/0.34, allocations: 8 kB / 0.7754 GB, free: 5.211 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.34, allocations: 11.97 kB / 0.7754 GB, free: 5.199 MB / 0.545 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.01922/0.3592, allocations: 4.982 MB / 0.7803 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.3593, allocations: 0 / 0.7803 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.3599, allocations: 107.8 kB / 0.7804 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/0.3657, allocations: 1.59 MB / 0.782 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001426/0.3659, allocations: 20 kB / 0.782 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/0.388, allocations: 9.236 MB / 0.791 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.388, allocations: 0 / 0.791 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/0.4034, allocations: 4.778 MB / 0.7957 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005238/0.404, allocations: 151.2 kB / 0.7958 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/0.4043, allocations: 20 kB / 0.7958 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.4057, allocations: 115.9 kB / 0.7959 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006123/0.4063, allocations: 196.6 kB / 0.7961 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.4064, allocations: 27.98 kB / 0.7962 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001413/0.4078, allocations: 0.7312 MB / 0.7969 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4078, allocations: 4 kB / 0.7969 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001703/0.4095, allocations: 475.7 kB / 0.7973 GB, free: 14.42 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,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 (64): * Single equations (assignments): 61 * 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 {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01591/0.4254, allocations: 5.351 MB / 0.8026 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006782/0.4322, allocations: 2.452 MB / 0.8049 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4322, allocations: 4.438 kB / 0.8049 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004589/0.4368, allocations: 1.548 MB / 0.8065 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.438, allocations: 129.6 kB / 0.8066 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3968/0.8349, allocations: 16.25 MB / 0.8225 GB, free: 92.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009115/0.8358, allocations: 0.5333 MB / 0.823 GB, free: 92.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005377/0.8363, allocations: 114 kB / 0.8231 GB, free: 92.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000631/0.8369, allocations: 475.9 kB / 0.8235 GB, free: 91.72 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.8369, allocations: 0 / 0.8235 GB, free: 91.72 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08008/0.917, allocations: 37.48 MB / 0.8601 GB, free: 64.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.6, allocations: 11.91 kB / 0.8602 GB, free: 64.2 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.618835795205086] Failed to read output from testmodel.py, exit status != 0: 16.763841988053173 16.785321552 16.601012568 Calling exit ...