Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.00211/0.00211, allocations: 109.4 kB / 16.46 MB, free: 6.387 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.514/1.514, 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.00187/0.00187, allocations: 227.9 kB / 306 MB, free: 4.32 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.6212/0.6212, allocations: 101.3 MB / 463.4 MB, free: 11.94 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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.002556/0.002556, allocations: 84.25 kB / 0.6193 GB, free: 15.51 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1856, allocations: 78.58 MB / 0.6961 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.4207/0.6063, allocations: 6.769 MB / 0.7027 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004822/0.6111, allocations: 2.067 MB / 0.7047 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.6126, allocations: 11.34 kB / 0.7047 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.6135, allocations: 244.1 kB / 0.7049 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002695/0.6161, allocations: 0.8875 MB / 0.7058 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.6176, allocations: 0.6456 MB / 0.7064 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.6196, allocations: 1.673 MB / 0.7081 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004006/0.62, allocations: 228.8 kB / 0.7083 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009806/0.621, allocations: 0.7116 MB / 0.709 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.6221, allocations: 0.8862 MB / 0.7098 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.6223, allocations: 136.3 kB / 0.71 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006788/0.623, allocations: 291.1 kB / 0.7103 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.6233, allocations: 352 kB / 0.7106 GB, free: 480 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.624, allocations: 0.7017 MB / 0.7113 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.6267, allocations: 1.756 MB / 0.713 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6267, allocations: 0 / 0.713 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6267, allocations: 0 / 0.713 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.861e-05/0.6267, allocations: 0.9375 kB / 0.713 GB, free: 15.2 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.01142/0.6382, allocations: 2.85 MB / 0.7158 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.6382, allocations: 9.688 kB / 0.7158 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.6384, allocations: 129.9 kB / 0.7159 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005724/0.6442, allocations: 0.7997 MB / 0.7167 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.6466, allocations: 0.9317 MB / 0.7176 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.647, allocations: 266.4 kB / 0.7179 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/0.6472, allocations: 90.34 kB / 0.7179 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.6501, allocations: 1.107 MB / 0.719 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.6501, allocations: 0 / 0.719 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.6502, allocations: 31.58 kB / 0.7191 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.6502, allocations: 21.94 kB / 0.7191 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.653, allocations: 1.011 MB / 0.7201 GB, free: 11.93 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.009836/0.6628, allocations: 3.903 MB / 0.7239 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009049/0.6719, allocations: 2.329 MB / 0.7261 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.6741, allocations: 0.6323 MB / 0.7268 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.6742, allocations: 19.31 kB / 0.7268 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00212/0.6763, allocations: 0.8463 MB / 0.7276 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=98): time 4.318e-06/0.6763, allocations: 0 / 0.7276 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98): time 0.03111/0.7075, allocations: 7.048 MB / 0.7345 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.7076, allocations: 126.5 kB / 0.7346 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/0.7098, allocations: 1.136 MB / 0.7357 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004007/0.7102, allocations: 55.17 kB / 0.7358 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.7107, allocations: 0.5044 MB / 0.7363 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005826/0.7113, allocations: 384.4 kB / 0.7366 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/0.7119, allocations: 302 kB / 0.7369 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.712, allocations: 301.1 kB / 0.7372 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.7139, allocations: 0.7953 MB / 0.738 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002035/0.7159, allocations: 0.9741 MB / 0.7389 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02906/0.745, allocations: 6.142 MB / 0.7449 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.745, allocations: 0 / 0.7449 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01623/0.7612, allocations: 4.49 MB / 0.7493 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.94e-05/0.7613, allocations: 63.41 kB / 0.7494 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.7613, allocations: 4 kB / 0.7494 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006929/0.7683, allocations: 1.658 MB / 0.751 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.7701, allocations: 299.6 kB / 0.7513 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0231/0.7932, allocations: 8.638 MB / 0.7597 GB, free: 236 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.7957, allocations: 211.1 kB / 0.7599 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/0.796, allocations: 63.97 kB / 0.76 GB, free: 15.96 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00086/0.7968, allocations: 307.3 kB / 0.7603 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/0.7972, allocations: 135.1 kB / 0.7604 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01438/0.8116, allocations: 3.885 MB / 0.7642 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.8116, allocations: 12 kB / 0.7642 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.776e-05/0.8116, allocations: 8 kB / 0.7642 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.934e-05/0.8117, allocations: 3.984 kB / 0.7642 GB, free: 11.58 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.01746/0.8291, allocations: 5.534 MB / 0.7696 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.8292, allocations: 0 / 0.7696 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008624/0.83, allocations: 99.89 kB / 0.7697 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006207/0.8362, allocations: 1.6 MB / 0.7713 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003042/0.8365, allocations: 23.98 kB / 0.7713 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02335/0.8599, allocations: 9.649 MB / 0.7807 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.8599, allocations: 3.062 kB / 0.7807 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.8765, allocations: 4.786 MB / 0.7854 GB, free: 5.453 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006885/0.8772, allocations: 232 kB / 0.7856 GB, free: 5.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/0.8776, allocations: 20 kB / 0.7856 GB, free: 5.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.8791, allocations: 111.9 kB / 0.7858 GB, free: 5.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007299/0.8798, allocations: 200.7 kB / 0.7859 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.911e-05/0.8799, allocations: 27.98 kB / 0.786 GB, free: 4.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001395/0.8813, allocations: 0.7713 MB / 0.7867 GB, free: 4.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8813, allocations: 0 / 0.7867 GB, free: 4.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001928/0.8832, allocations: 499.5 kB / 0.7872 GB, free: 3.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,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 (66): * Single equations (assignments): 63 * 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 {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01702/0.9003, allocations: 5.384 MB / 0.7925 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008392/0.9086, allocations: 2.479 MB / 0.7949 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9087, allocations: 0 / 0.7949 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005254/0.9139, allocations: 1.561 MB / 0.7964 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.9153, allocations: 118.6 kB / 0.7965 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04842/0.9637, allocations: 16.78 MB / 0.8129 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/0.9647, allocations: 1.14 MB / 0.814 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007323/0.9654, allocations: 112.3 kB / 0.8141 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008527/0.9663, allocations: 495.3 kB / 0.8146 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of SimCode: time 1.242e-06/0.9663, allocations: 4 kB / 0.8146 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09174/1.058, allocations: 36.09 MB / 0.8498 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.78, allocations: 0 / 0.8498 GB, free: 3.242 MB / 0.6075 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII_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_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.726257588947192] Failed to read output from testmodel.py, exit status != 0: 16.900007306132466 16.925187163 16.29374034 Calling exit ...