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.001378/0.001378, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.486/1.486, allocations: 230.6 MB / 252.7 MB, free: 8.293 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.00164/0.00164, allocations: 219.5 kB / 309.2 MB, free: 3.18 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.5899/0.5899, allocations: 101.3 MB / 467 MB, free: 10.34 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.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.00244/0.00244, allocations: 91.84 kB / 0.6244 GB, free: 12.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5118, allocations: 78.62 MB / 0.7012 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.007089/0.5189, allocations: 6.67 MB / 0.7077 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.5236, allocations: 2.018 MB / 0.7097 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.5251, allocations: 13.94 kB / 0.7097 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009956/0.5261, allocations: 243.8 kB / 0.7099 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.5292, allocations: 0.8622 MB / 0.7108 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.5309, allocations: 0.649 MB / 0.7114 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.5336, allocations: 1.619 MB / 0.713 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005138/0.5341, allocations: 224.3 kB / 0.7132 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.5356, allocations: 0.6713 MB / 0.7139 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.5368, allocations: 0.8397 MB / 0.7147 GB, free: 312 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.537, allocations: 123.3 kB / 0.7148 GB, free: 312 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.5377, allocations: 287.2 kB / 0.7151 GB, free: 252 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.538, allocations: 333.9 kB / 0.7154 GB, free: 28 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008346/0.5388, allocations: 0.6705 MB / 0.7161 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.5415, allocations: 1.693 MB / 0.7177 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5415, allocations: 0.5625 kB / 0.7177 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5415, allocations: 0 / 0.7177 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.124e-05/0.5416, allocations: 0 / 0.7177 GB, free: 14.8 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.01059/0.5522, allocations: 2.816 MB / 0.7205 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5522, allocations: 7.906 kB / 0.7205 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.5524, allocations: 125.4 kB / 0.7206 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005456/0.5579, allocations: 0.8021 MB / 0.7214 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.5602, allocations: 0.8242 MB / 0.7222 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.5606, allocations: 341.9 kB / 0.7225 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/0.5608, allocations: 85.98 kB / 0.7226 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/0.5634, allocations: 1.086 MB / 0.7236 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.5635, allocations: 5.375 kB / 0.7237 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5636, allocations: 29.62 kB / 0.7237 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.5636, allocations: 19.72 kB / 0.7237 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.566, allocations: 0.99 MB / 0.7247 GB, free: 11.58 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.009229/0.5752, allocations: 3.786 MB / 0.7284 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007601/0.5828, allocations: 1.999 MB / 0.7303 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.5847, allocations: 0.617 MB / 0.7309 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.5848, allocations: 18.81 kB / 0.7309 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001832/0.5866, allocations: 0.8249 MB / 0.7317 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 2.995e-06/0.5866, allocations: 3.938 kB / 0.7317 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02861/0.6152, allocations: 6.893 MB / 0.7385 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6153, allocations: 117.8 kB / 0.7386 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.6174, allocations: 1.09 MB / 0.7397 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003875/0.6178, allocations: 41.3 kB / 0.7397 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.6184, allocations: 0.4926 MB / 0.7402 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006177/0.619, allocations: 374.9 kB / 0.7405 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/0.6196, allocations: 290 kB / 0.7408 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6197, allocations: 301.1 kB / 0.7411 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.6215, allocations: 0.7643 MB / 0.7418 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002025/0.6235, allocations: 0.9303 MB / 0.7427 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02603/0.6496, allocations: 5.793 MB / 0.7484 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.6496, allocations: 1.375 kB / 0.7484 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01469/0.6643, allocations: 4.317 MB / 0.7526 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.6644, allocations: 63.39 kB / 0.7527 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.6644, allocations: 4 kB / 0.7527 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005663/0.67, allocations: 1.512 MB / 0.7542 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.6718, allocations: 295.6 kB / 0.7544 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/0.6924, allocations: 8.169 MB / 0.7624 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.6947, allocations: 207 kB / 0.7626 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.695, allocations: 51.98 kB / 0.7627 GB, free: 0.9727 MB / 0.5137 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.0007446/0.6957, allocations: 312.2 kB / 0.763 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.696, allocations: 135.1 kB / 0.7631 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.7092, allocations: 3.846 MB / 0.7669 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.7092, allocations: 8 kB / 0.7669 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.7092, allocations: 8 kB / 0.7669 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/0.7092, allocations: 7.969 kB / 0.7669 GB, free: 12.62 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.01595/0.7252, allocations: 5.404 MB / 0.7722 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7252, allocations: 0 / 0.7722 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.7259, allocations: 103.8 kB / 0.7723 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005831/0.7317, allocations: 1.59 MB / 0.7738 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002873/0.732, allocations: 24 kB / 0.7738 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02202/0.754, allocations: 9.44 MB / 0.783 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7541, allocations: 0 / 0.783 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.7696, allocations: 4.716 MB / 0.7877 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/0.7703, allocations: 150.9 kB / 0.7878 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/0.7706, allocations: 20 kB / 0.7878 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.7719, allocations: 115.9 kB / 0.7879 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/0.7725, allocations: 196.6 kB / 0.7881 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.7726, allocations: 27.98 kB / 0.7881 GB, free: 6.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001242/0.7739, allocations: 0.7351 MB / 0.7889 GB, free: 5.723 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.7739, allocations: 0 / 0.7889 GB, free: 5.723 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001868/0.7757, allocations: 475.7 kB / 0.7893 GB, free: 5.258 MB / 0.545 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.01545/0.7912, allocations: 5.304 MB / 0.7945 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006893/0.7981, allocations: 2.372 MB / 0.7968 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.7981, allocations: 0 / 0.7968 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00459/0.8027, allocations: 1.527 MB / 0.7983 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.8039, allocations: 114.4 kB / 0.7984 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04148/0.8454, allocations: 16.02 MB / 0.8141 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.8462, allocations: 1.124 MB / 0.8152 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00066/0.8469, allocations: 120 kB / 0.8153 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007203/0.8476, allocations: 471.3 kB / 0.8157 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of SimCode: time 1.202e-06/0.8476, allocations: 0 / 0.8157 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/0.9603, allocations: 35.56 MB / 0.8504 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/16.92, allocations: 11.94 kB / 0.8505 GB, free: 6.41 MB / 0.6075 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.692075651997584] Failed to read output from testmodel.py, exit status != 0: 17.065267563000816 17.082345713 16.537227225 Calling exit ...