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.001608/0.001608, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.523/1.523, allocations: 230.6 MB / 249.8 MB, free: 9.238 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.001617/0.001617, allocations: 207.3 kB / 306 MB, free: 4.309 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.5645/0.5645, allocations: 101.3 MB / 463.4 MB, free: 11.91 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.002426/0.002426, allocations: 83.88 kB / 0.6193 GB, free: 15.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1877, allocations: 78.57 MB / 0.6961 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.3784/0.5661, allocations: 6.626 MB / 0.7025 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.5708, allocations: 2.012 MB / 0.7045 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.5722, allocations: 12.69 kB / 0.7045 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.573, allocations: 243.6 kB / 0.7047 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002611/0.5757, allocations: 0.8633 MB / 0.7056 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.5771, allocations: 0.6322 MB / 0.7062 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.5793, allocations: 1.59 MB / 0.7078 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.5798, allocations: 235 kB / 0.708 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.5808, allocations: 0.6628 MB / 0.7086 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009523/0.5818, allocations: 0.8412 MB / 0.7094 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.5819, allocations: 124 kB / 0.7096 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/0.5826, allocations: 286.9 kB / 0.7098 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.5829, allocations: 327.3 kB / 0.7102 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.5834, allocations: 0.6669 MB / 0.7108 GB, free: 300 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.5859, allocations: 1.693 MB / 0.7125 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5859, allocations: 0 / 0.7125 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5859, allocations: 0 / 0.7125 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.5859, allocations: 4 kB / 0.7125 GB, free: 15.52 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.0102/0.5961, allocations: 2.75 MB / 0.7151 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5962, allocations: 8.531 kB / 0.7152 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002068/0.5964, allocations: 128.8 kB / 0.7153 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/0.6018, allocations: 0.7972 MB / 0.7161 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.6038, allocations: 0.8937 MB / 0.7169 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003516/0.6042, allocations: 260.3 kB / 0.7172 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.6044, allocations: 88.09 kB / 0.7173 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.6071, allocations: 1.089 MB / 0.7183 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.6071, allocations: 3.188 kB / 0.7183 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.6072, allocations: 31.12 kB / 0.7184 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.6072, allocations: 19.11 kB / 0.7184 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.6098, allocations: 0.99 MB / 0.7193 GB, free: 12.31 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.009552/0.6194, allocations: 3.834 MB / 0.7231 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008794/0.6282, allocations: 2.299 MB / 0.7253 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.6298, allocations: 0.6132 MB / 0.7259 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.63, allocations: 23.98 kB / 0.726 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/0.632, allocations: 0.8216 MB / 0.7268 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 5.26e-06/0.632, allocations: 0 / 0.7268 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.03174/0.6637, allocations: 7.054 MB / 0.7336 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.6638, allocations: 117.5 kB / 0.7338 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.6666, allocations: 1.094 MB / 0.7348 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003566/0.667, allocations: 46.92 kB / 0.7349 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006121/0.6676, allocations: 0.4917 MB / 0.7353 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007525/0.6683, allocations: 371.2 kB / 0.7357 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.6698, allocations: 289.6 kB / 0.736 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.67, allocations: 301.1 kB / 0.7363 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.6727, allocations: 0.7677 MB / 0.737 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003202/0.6759, allocations: 0.9342 MB / 0.7379 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03942/0.7153, allocations: 5.787 MB / 0.7436 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-05/0.7153, allocations: 1.062 kB / 0.7436 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.02316/0.7385, allocations: 4.322 MB / 0.7478 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.7386, allocations: 65.91 kB / 0.7479 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.7386, allocations: 0 / 0.7479 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008731/0.7473, allocations: 1.512 MB / 0.7493 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/0.7499, allocations: 295.6 kB / 0.7496 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02373/0.7736, allocations: 8.271 MB / 0.7577 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002518/0.7761, allocations: 203 kB / 0.7579 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004409/0.7766, allocations: 63.97 kB / 0.758 GB, free: 2.027 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.001215/0.7778, allocations: 300.3 kB / 0.7582 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006094/0.7784, allocations: 131.1 kB / 0.7584 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01457/0.793, allocations: 3.846 MB / 0.7621 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-05/0.793, allocations: 12 kB / 0.7621 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.225e-05/0.793, allocations: 12 kB / 0.7621 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.012e-05/0.793, allocations: 3.984 kB / 0.7621 GB, free: 13.69 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.01825/0.8113, allocations: 5.436 MB / 0.7675 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.8113, allocations: 0 / 0.7675 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/0.8121, allocations: 103.8 kB / 0.7676 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00622/0.8183, allocations: 1.584 MB / 0.7691 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/0.8186, allocations: 23.98 kB / 0.7691 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02424/0.8428, allocations: 9.644 MB / 0.7785 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.8428, allocations: 0 / 0.7785 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.8599, allocations: 4.724 MB / 0.7832 GB, free: 7.742 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.8605, allocations: 227.9 kB / 0.7834 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005124/0.8611, allocations: 24.19 kB / 0.7834 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.8626, allocations: 107.9 kB / 0.7835 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008143/0.8634, allocations: 196.7 kB / 0.7837 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/0.8636, allocations: 35.98 kB / 0.7837 GB, free: 7.141 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001622/0.8652, allocations: 0.7312 MB / 0.7844 GB, free: 6.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8652, allocations: 0 / 0.7844 GB, free: 6.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002359/0.8676, allocations: 471.7 kB / 0.7849 GB, free: 5.941 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.0171/0.8847, allocations: 5.305 MB / 0.7901 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007661/0.8923, allocations: 2.377 MB / 0.7924 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.8924, allocations: 4.188 kB / 0.7924 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00505/0.8974, allocations: 1.531 MB / 0.7939 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.8992, allocations: 120.1 kB / 0.794 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04815/0.9473, allocations: 16.02 MB / 0.8096 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/0.9486, allocations: 1.12 MB / 0.8107 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007939/0.9494, allocations: 128 kB / 0.8109 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.9504, allocations: 467.3 kB / 0.8113 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.9504, allocations: 0 / 0.8113 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09562/1.046, allocations: 34.72 MB / 0.8452 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/16.19, allocations: 0 / 0.8452 GB, free: 7.992 MB / 0.6075 GB " [Timeout remaining time 644] (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: 19.889846445061266] Failed to read output from testmodel.py, exit status != 0: 16.307417627889663 16.334682997 15.743652232 Calling exit ...