Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001393/0.001393, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.481/1.481, allocations: 230.6 MB / 252.7 MB, free: 8.055 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.001844/0.001844, allocations: 215.5 kB / 309.2 MB, free: 2.918 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.5966/0.5966, allocations: 107.2 MB / 472.8 MB, free: 4.449 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,fileNamePrefix="OpenIPSL_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.00289/0.00289, allocations: 91.88 kB / 0.6331 GB, free: 4.973 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4766, allocations: 80.13 MB / 0.7113 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006048/0.4827, allocations: 5.851 MB / 0.717 GB, free: 292 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.487, allocations: 1.919 MB / 0.7189 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004414/0.4875, allocations: 7.875 kB / 0.7189 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007656/0.4882, allocations: 245.8 kB / 0.7191 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.4903, allocations: 0.8429 MB / 0.72 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.4918, allocations: 0.6295 MB / 0.7206 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.4937, allocations: 1.616 MB / 0.7222 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.494, allocations: 208.4 kB / 0.7224 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008834/0.4949, allocations: 0.6708 MB / 0.723 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.4959, allocations: 0.7689 MB / 0.7238 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.4961, allocations: 121.9 kB / 0.7239 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.4967, allocations: 269.8 kB / 0.7241 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003739/0.4971, allocations: 334.5 kB / 0.7245 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005999/0.4977, allocations: 0.5529 MB / 0.725 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.4998, allocations: 1.711 MB / 0.7267 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.4998, allocations: 0 / 0.7267 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4998, allocations: 0 / 0.7267 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.4998, allocations: 0 / 0.7267 GB, free: 11.03 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.009792/0.5096, allocations: 2.811 MB / 0.7294 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5097, allocations: 9.625 kB / 0.7294 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.5099, allocations: 130.8 kB / 0.7295 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005432/0.5153, allocations: 0.7978 MB / 0.7303 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.5171, allocations: 0.825 MB / 0.7311 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/0.5175, allocations: 336.1 kB / 0.7314 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.5177, allocations: 87.56 kB / 0.7315 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/0.5201, allocations: 1.116 MB / 0.7326 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.5201, allocations: 0 / 0.7326 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.5202, allocations: 30.88 kB / 0.7326 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.5203, allocations: 21.81 kB / 0.7327 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.5225, allocations: 1.01 MB / 0.7337 GB, free: 7.5 MB / 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.00753/0.53, allocations: 2.987 MB / 0.7366 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007461/0.5375, allocations: 2.019 MB / 0.7385 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.5391, allocations: 0.6384 MB / 0.7392 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.5393, allocations: 19.25 kB / 0.7392 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/0.5413, allocations: 0.8438 MB / 0.74 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 5.55e-06/0.5413, allocations: 0 / 0.74 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03037/0.5717, allocations: 6.955 MB / 0.7468 GB, free: 148 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.5718, allocations: 118 kB / 0.7469 GB, free: 12 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.5746, allocations: 1.088 MB / 0.748 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003091/0.5749, allocations: 41.05 kB / 0.748 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000672/0.5756, allocations: 0.4969 MB / 0.7485 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000713/0.5763, allocations: 375.2 kB / 0.7489 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000972/0.5773, allocations: 285.2 kB / 0.7491 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5774, allocations: 306.1 kB / 0.7494 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.5795, allocations: 0.816 MB / 0.7502 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.5818, allocations: 0.991 MB / 0.7512 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02573/0.6075, allocations: 5.794 MB / 0.7568 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/0.6075, allocations: 0 / 0.7568 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01467/0.6222, allocations: 4.371 MB / 0.7611 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-05/0.6222, allocations: 59.41 kB / 0.7612 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.6223, allocations: 4 kB / 0.7612 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005771/0.628, allocations: 1.508 MB / 0.7626 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.6297, allocations: 307.5 kB / 0.7629 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.6511, allocations: 7.989 MB / 0.7707 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.6535, allocations: 207 kB / 0.7709 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000351/0.6539, allocations: 59.92 kB / 0.771 GB, free: 9.539 MB / 0.5294 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.001111/0.655, allocations: 300.1 kB / 0.7713 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000581/0.6556, allocations: 143.1 kB / 0.7714 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/0.6692, allocations: 3.859 MB / 0.7752 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.6692, allocations: 8 kB / 0.7752 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/0.6693, allocations: 12 kB / 0.7752 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.301e-05/0.6693, allocations: 7.969 kB / 0.7752 GB, free: 5.168 MB / 0.5294 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.01614/0.6854, allocations: 4.982 MB / 0.7801 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.6854, allocations: 0 / 0.7801 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.6861, allocations: 107.9 kB / 0.7802 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005912/0.692, allocations: 1.594 MB / 0.7817 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.6921, allocations: 24 kB / 0.7818 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02246/0.7146, allocations: 9.242 MB / 0.7908 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7146, allocations: 3.984 kB / 0.7908 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.7304, allocations: 4.766 MB / 0.7954 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006721/0.7311, allocations: 151.1 kB / 0.7956 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/0.7316, allocations: 16 kB / 0.7956 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.7331, allocations: 115.9 kB / 0.7957 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/0.7338, allocations: 200.6 kB / 0.7959 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.7339, allocations: 27.98 kB / 0.7959 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001581/0.7355, allocations: 0.735 MB / 0.7967 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7355, allocations: 0 / 0.7967 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002102/0.7376, allocations: 475.6 kB / 0.7971 GB, free: 14.38 MB / 0.5606 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.0161/0.7537, allocations: 5.359 MB / 0.8023 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007065/0.7607, allocations: 2.451 MB / 0.8047 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7607, allocations: 0 / 0.8047 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004642/0.7654, allocations: 1.552 MB / 0.8062 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.7669, allocations: 122.4 kB / 0.8064 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04422/0.8111, allocations: 16.26 MB / 0.8222 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.8119, allocations: 0.5277 MB / 0.8228 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000642/0.8125, allocations: 124.1 kB / 0.8229 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009034/0.8134, allocations: 475.3 kB / 0.8233 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of SimCode: time 1.483e-06/0.8134, allocations: 0 / 0.8233 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09275/0.9062, allocations: 37.47 MB / 0.8599 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.78/15.68, allocations: 13.77 kB / 0.8599 GB, free: 13.77 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Continuous.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.342001150827855] Failed to read output from testmodel.py, exit status != 0: 15.829132708255202 15.851346796 15.347185232 Calling exit ...