Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.00134/0.00134, 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.508/1.508, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.001591/0.001591, allocations: 218.9 kB / 309.2 MB, free: 3.184 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.6551/0.6551, allocations: 107.2 MB / 472.8 MB, free: 30.13 MB / 350.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_Discrete,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete",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.002827/0.002827, allocations: 88.81 kB / 0.6331 GB, free: 29.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1526, allocations: 80.15 MB / 0.7113 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.009069/0.1617, allocations: 5.508 MB / 0.7167 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.166, allocations: 1.826 MB / 0.7185 GB, free: 348 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006234/0.1666, allocations: 19.94 kB / 0.7185 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005655/0.1672, allocations: 214.1 kB / 0.7187 GB, free: 112 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.1692, allocations: 0.7781 MB / 0.7195 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1705, allocations: 0.5826 MB / 0.72 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001684/0.1722, allocations: 1.382 MB / 0.7214 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.1726, allocations: 192.6 kB / 0.7216 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.1734, allocations: 0.6029 MB / 0.7222 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009119/0.1743, allocations: 0.6998 MB / 0.7229 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001802/0.1745, allocations: 104 kB / 0.723 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005179/0.175, allocations: 255.8 kB / 0.7232 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.1753, allocations: 294.8 kB / 0.7235 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.1758, allocations: 0.4972 MB / 0.724 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.1776, allocations: 1.529 MB / 0.7255 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1776, allocations: 0 / 0.7255 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1776, allocations: 0 / 0.7255 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.1776, allocations: 0 / 0.7255 GB, free: 9.176 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008274/0.1859, allocations: 2.463 MB / 0.7279 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.1859, allocations: 8.031 kB / 0.7279 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.1861, allocations: 122.4 kB / 0.728 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/0.1911, allocations: 0.7758 MB / 0.7287 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.1925, allocations: 0.741 MB / 0.7295 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/0.1929, allocations: 366.9 kB / 0.7298 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.1931, allocations: 72 kB / 0.7299 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/0.1956, allocations: 1.184 MB / 0.731 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.1957, allocations: 0 / 0.731 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.1957, allocations: 28 kB / 0.7311 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.1958, allocations: 16 kB / 0.7311 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.1979, allocations: 0.9459 MB / 0.732 GB, free: 2.289 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.006477/0.2044, allocations: 2.752 MB / 0.7347 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007426/0.2118, allocations: 1.923 MB / 0.7366 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.2132, allocations: 0.5931 MB / 0.7372 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.2134, allocations: 12.66 kB / 0.7372 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.2134, allocations: 47.16 kB / 0.7372 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=92): time 3.828e-06/0.2134, allocations: 0 / 0.7372 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=92): time 0.02881/0.2422, allocations: 6.697 MB / 0.7437 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.2423, allocations: 97.77 kB / 0.7438 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.2441, allocations: 0.9696 MB / 0.7448 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.2442, allocations: 41.7 kB / 0.7448 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/0.2447, allocations: 465.4 kB / 0.7453 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004985/0.2452, allocations: 337.2 kB / 0.7456 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006575/0.2459, allocations: 255.5 kB / 0.7458 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2461, allocations: 301.1 kB / 0.7461 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.2477, allocations: 0.6949 MB / 0.7468 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.2496, allocations: 0.9146 MB / 0.7477 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02379/0.2734, allocations: 5.284 MB / 0.7529 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/0.2734, allocations: 3.984 kB / 0.7529 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01408/0.2875, allocations: 4.126 MB / 0.7569 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.2875, allocations: 8 kB / 0.7569 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.2875, allocations: 4 kB / 0.7569 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005742/0.2932, allocations: 1.507 MB / 0.7584 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.2945, allocations: 263.6 kB / 0.7586 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02148/0.316, allocations: 7.994 MB / 0.7664 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.3179, allocations: 179 kB / 0.7666 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/0.3182, allocations: 51.98 kB / 0.7666 GB, free: 14.33 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: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vf,aVRTypeII.vr2,aVRTypeII.vr1,aVRTypeII.vm) * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * 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.001013/0.3192, allocations: 270.5 kB / 0.7669 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/0.3204, allocations: 345.9 kB / 0.7672 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.333, allocations: 3.557 MB / 0.7707 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.333, allocations: 12 kB / 0.7707 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.888e-05/0.3331, allocations: 4 kB / 0.7707 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.3331, allocations: 7.984 kB / 0.7707 GB, free: 10.11 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.01525/0.3483, allocations: 4.668 MB / 0.7753 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.3483, allocations: 0 / 0.7753 GB, free: 5.375 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006441/0.349, allocations: 107.9 kB / 0.7754 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00574/0.3547, allocations: 1.579 MB / 0.7769 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/0.3549, allocations: 19.98 kB / 0.777 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02226/0.3771, allocations: 10.37 MB / 0.7871 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.3771, allocations: 11.94 kB / 0.7871 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.3924, allocations: 4.579 MB / 0.7916 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.3928, allocations: 143 kB / 0.7917 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.3931, allocations: 16 kB / 0.7917 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.3943, allocations: 87.91 kB / 0.7918 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005797/0.3948, allocations: 184.6 kB / 0.792 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.3949, allocations: 28 kB / 0.792 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001069/0.396, allocations: 0.6395 MB / 0.7926 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.396, allocations: 3.938 kB / 0.7926 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001735/0.3978, allocations: 443.7 kB / 0.7931 GB, free: 2.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 4 (aVRTypeII.vm,aVRTypeII.vr1,aVRTypeII.vr2,aVRTypeII.vf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * 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 {(3,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01553/0.4133, allocations: 5.181 MB / 0.7981 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006562/0.4198, allocations: 2.162 MB / 0.8002 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4199, allocations: 5.375 kB / 0.8002 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004148/0.424, allocations: 1.262 MB / 0.8015 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/0.4258, allocations: 339 kB / 0.8018 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3725/0.7983, allocations: 14.99 MB / 0.8164 GB, free: 92.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/0.7991, allocations: 497.5 kB / 0.8169 GB, free: 92.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005131/0.7996, allocations: 99.33 kB / 0.817 GB, free: 92.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/0.8003, allocations: 441.5 kB / 0.8174 GB, free: 92.37 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/0.8003, allocations: 0 / 0.8174 GB, free: 92.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07875/0.8791, allocations: 34.38 MB / 0.851 GB, free: 73.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.6, allocations: 12.62 kB / 0.851 GB, free: 73.63 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 0.001 --interface-type ModelExchange --solver CVode --output-interval 0.01 OpenIPSL_OpenIPSL_Examples_PSATSystems_Discretization_FourthOrder_AVRII_Discrete.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.429017182905227] Failed to read output from testmodel.py, exit status != 0: 15.736076507717371 15.755349608 15.574177857 Calling exit ...