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.0007669/0.0007669, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8491/0.8491, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001027/0.001027, allocations: 164.5 kB / 256 MB, free: 13.34 MB / 250.7 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.2678/0.2678, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 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: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.688e-05, allocations: 2.281 kB / 0.5548 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.004575/0.004592, allocations: 5.824 MB / 0.5605 GB, free: 6.844 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002759/0.007351, allocations: 1.927 MB / 0.5624 GB, free: 4.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.007764, allocations: 15.94 kB / 0.5624 GB, free: 4.895 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.008289, allocations: 233.9 kB / 0.5626 GB, free: 4.664 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.009574, allocations: 0.8648 MB / 0.5635 GB, free: 3.797 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.01041, allocations: 0.6375 MB / 0.5641 GB, free: 3.168 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.01184, allocations: 1.592 MB / 0.5656 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002998/0.01214, allocations: 210.9 kB / 0.5658 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.01303, allocations: 0.9078 MB / 0.5667 GB, free: 452 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005803/0.01361, allocations: 0.6697 MB / 0.5674 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.01376, allocations: 123.9 kB / 0.5675 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.01409, allocations: 271.8 kB / 0.5678 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.01428, allocations: 334.5 kB / 0.5681 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.01459, allocations: 458.5 kB / 0.5685 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.01574, allocations: 1.729 MB / 0.5702 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01574, allocations: 0 / 0.5702 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01574, allocations: 0 / 0.5702 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.563e-05/0.01577, allocations: 4 kB / 0.5702 GB, free: 12.87 MB / 0.4948 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.004828/0.0206, allocations: 2.799 MB / 0.5729 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.02063, allocations: 12.03 kB / 0.5729 GB, free: 10 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.02074, allocations: 126.6 kB / 0.5731 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/0.02317, allocations: 0.7952 MB / 0.5738 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.02409, allocations: 0.8307 MB / 0.5747 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.02428, allocations: 333.3 kB / 0.575 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.02439, allocations: 91.98 kB / 0.5751 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.02566, allocations: 1.112 MB / 0.5761 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.02568, allocations: 4 kB / 0.5762 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.02574, allocations: 31.94 kB / 0.5762 GB, free: 6.562 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.02575, allocations: 20 kB / 0.5762 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.02699, allocations: 1.009 MB / 0.5772 GB, free: 5.523 MB / 0.4948 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.00392/0.03091, allocations: 2.976 MB / 0.5801 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/0.03457, allocations: 2.015 MB / 0.5821 GB, free: 452 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000789/0.03536, allocations: 0.6427 MB / 0.5827 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-05/0.03543, allocations: 17 kB / 0.5827 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009537/0.03639, allocations: 0.8389 MB / 0.5835 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=96): time 2.124e-06/0.03639, allocations: 0 / 0.5835 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.01439/0.05078, allocations: 6.962 MB / 0.5903 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.05083, allocations: 115.8 kB / 0.5904 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009057/0.05173, allocations: 1.091 MB / 0.5915 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.0518, allocations: 45.64 kB / 0.5915 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.05204, allocations: 497.5 kB / 0.592 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.05226, allocations: 376.8 kB / 0.5924 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000558/0.05282, allocations: 291.5 kB / 0.5927 GB, free: 5.461 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.05289, allocations: 305.1 kB / 0.5929 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000997/0.05389, allocations: 0.8154 MB / 0.5937 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.05495, allocations: 0.9845 MB / 0.5947 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1866/0.2415, allocations: 5.789 MB / 0.6004 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.2415, allocations: 0 / 0.6004 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.006784/0.2483, allocations: 4.369 MB / 0.6046 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.2483, allocations: 67.03 kB / 0.6047 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.2483, allocations: 3.625 kB / 0.6047 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002649/0.251, allocations: 1.503 MB / 0.6062 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007126/0.2517, allocations: 303.2 kB / 0.6064 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.2631, allocations: 7.993 MB / 0.6143 GB, free: 87.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.2641, allocations: 206.8 kB / 0.6144 GB, free: 86.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.739e-05/0.2642, allocations: 58.59 kB / 0.6145 GB, free: 86.97 MB / 0.5105 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.0004388/0.2647, allocations: 294.9 kB / 0.6148 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2648, allocations: 131.1 kB / 0.6149 GB, free: 86.66 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007012/0.2718, allocations: 3.877 MB / 0.6187 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.2718, allocations: 9.844 kB / 0.6187 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.2718, allocations: 11.88 kB / 0.6187 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2718, allocations: 5.25 kB / 0.6187 GB, free: 85.72 MB / 0.5105 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.008101/0.2799, allocations: 4.989 MB / 0.6236 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.2799, allocations: 1.344 kB / 0.6236 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.2802, allocations: 104.8 kB / 0.6237 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/0.2831, allocations: 1.586 MB / 0.6252 GB, free: 83.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.2831, allocations: 22.44 kB / 0.6253 GB, free: 83.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.2939, allocations: 9.242 MB / 0.6343 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2939, allocations: 0 / 0.6343 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/0.3012, allocations: 4.784 MB / 0.639 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.3014, allocations: 149.8 kB / 0.6391 GB, free: 76.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.3015, allocations: 19.94 kB / 0.6391 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005258/0.302, allocations: 110 kB / 0.6392 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.3023, allocations: 202.6 kB / 0.6394 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/0.3023, allocations: 31.27 kB / 0.6395 GB, free: 76.44 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005864/0.3029, allocations: 0.7232 MB / 0.6402 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3029, allocations: 3.375 kB / 0.6402 GB, free: 76.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009389/0.3039, allocations: 475.5 kB / 0.6406 GB, free: 75.97 MB / 0.5105 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.007136/0.311, allocations: 5.357 MB / 0.6458 GB, free: 71.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003055/0.3141, allocations: 2.429 MB / 0.6482 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3141, allocations: 4.188 kB / 0.6482 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/0.316, allocations: 1.557 MB / 0.6497 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005096/0.3165, allocations: 115 kB / 0.6499 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.3353, allocations: 16.09 MB / 0.6656 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.3356, allocations: 0.5316 MB / 0.6661 GB, free: 50.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.3359, allocations: 116.6 kB / 0.6662 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.3362, allocations: 476.3 kB / 0.6666 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/0.3362, allocations: 0 / 0.6666 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.3752, allocations: 37.72 MB / 0.7035 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/9.034, allocations: 0 / 0.7035 GB, free: 12.49 MB / 0.5105 GB " [Timeout remaining time 651] (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: 11.311877368949354] Failed to read output from testmodel.py, exit status != 0: 9.141336753033102 9.153721197 9.135438356 Calling exit ...