Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.001414/0.001414, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.534/1.534, allocations: 230.6 MB / 252.7 MB, free: 8.082 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.00191/0.00191, allocations: 213.5 kB / 309.2 MB, free: 2.914 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.6349/0.6349, allocations: 107.3 MB / 473 MB, free: 4.414 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.002575/0.002575, allocations: 87.86 kB / 0.6332 GB, free: 4.949 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5151/0.5177, allocations: 80.16 MB / 0.7115 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006272/0.524, allocations: 5.83 MB / 0.7172 GB, free: 252 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.5287, allocations: 1.923 MB / 0.7191 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005631/0.5292, allocations: 10.03 kB / 0.7191 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.53, allocations: 244.1 kB / 0.7193 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/0.5321, allocations: 0.8414 MB / 0.7202 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.5336, allocations: 0.6293 MB / 0.7208 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.5355, allocations: 1.616 MB / 0.7224 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.5359, allocations: 212.3 kB / 0.7226 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009639/0.5368, allocations: 0.6709 MB / 0.7232 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.5379, allocations: 0.768 MB / 0.724 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001791/0.5381, allocations: 123.3 kB / 0.7241 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006044/0.5387, allocations: 278.2 kB / 0.7243 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.5391, allocations: 331.8 kB / 0.7247 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005802/0.5397, allocations: 0.5475 MB / 0.7252 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002243/0.5419, allocations: 1.702 MB / 0.7269 GB, free: 11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5419, allocations: 7.938 kB / 0.7269 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5419, allocations: 0 / 0.7269 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.46e-05/0.5419, allocations: 0 / 0.7269 GB, free: 10.99 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.0101/0.552, allocations: 2.809 MB / 0.7296 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.5521, allocations: 14.05 kB / 0.7296 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.5523, allocations: 130.8 kB / 0.7297 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005401/0.5577, allocations: 0.7939 MB / 0.7305 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.5598, allocations: 0.8259 MB / 0.7313 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003852/0.5602, allocations: 339.6 kB / 0.7317 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.5604, allocations: 87.14 kB / 0.7317 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.5628, allocations: 1.116 MB / 0.7328 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.5629, allocations: 1.125 kB / 0.7328 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.563, allocations: 29.72 kB / 0.7329 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.563, allocations: 18.03 kB / 0.7329 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.5651, allocations: 1.01 MB / 0.7339 GB, free: 7.453 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.007742/0.5729, allocations: 2.983 MB / 0.7368 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007363/0.5803, allocations: 2.018 MB / 0.7387 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.5817, allocations: 0.6397 MB / 0.7394 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.533e-05/0.5818, allocations: 15.97 kB / 0.7394 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001776/0.5836, allocations: 0.8498 MB / 0.7402 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=96): time 3.387e-06/0.5836, allocations: 0 / 0.7402 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96): time 0.02942/0.613, allocations: 6.951 MB / 0.747 GB, free: 108 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.6132, allocations: 126.1 kB / 0.7471 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.6153, allocations: 1.084 MB / 0.7482 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.6155, allocations: 42.23 kB / 0.7482 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/0.616, allocations: 0.4958 MB / 0.7487 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.6165, allocations: 374.7 kB / 0.7491 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000565/0.617, allocations: 286.1 kB / 0.7493 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6172, allocations: 306.5 kB / 0.7496 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.619, allocations: 0.8216 MB / 0.7504 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.6209, allocations: 0.9872 MB / 0.7514 GB, free: 13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02514/0.646, allocations: 5.797 MB / 0.7571 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/0.646, allocations: 4 kB / 0.7571 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01413/0.6601, allocations: 4.363 MB / 0.7613 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.547e-05/0.6602, allocations: 59.41 kB / 0.7614 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.6602, allocations: 4 kB / 0.7614 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/0.6659, allocations: 1.508 MB / 0.7629 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/0.6676, allocations: 303.5 kB / 0.7631 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/0.688, allocations: 7.989 MB / 0.7709 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.6903, allocations: 210.9 kB / 0.7711 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.6905, allocations: 55.97 kB / 0.7712 GB, free: 9.477 MB / 0.5294 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.000779/0.6913, allocations: 312.5 kB / 0.7715 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.6915, allocations: 131.1 kB / 0.7716 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.7047, allocations: 3.867 MB / 0.7754 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.7047, allocations: 12 kB / 0.7754 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.501e-05/0.7047, allocations: 8 kB / 0.7754 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-05/0.7047, allocations: 3.984 kB / 0.7754 GB, free: 5.102 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.01537/0.7201, allocations: 4.986 MB / 0.7803 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.7201, allocations: 4 kB / 0.7803 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006908/0.7208, allocations: 103.8 kB / 0.7804 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005681/0.7265, allocations: 1.586 MB / 0.7819 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001839/0.7267, allocations: 23.98 kB / 0.782 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/0.7481, allocations: 9.242 MB / 0.791 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.7481, allocations: 4 kB / 0.791 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/0.7634, allocations: 4.774 MB / 0.7957 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007392/0.7642, allocations: 151.1 kB / 0.7958 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.7644, allocations: 19.98 kB / 0.7958 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.7656, allocations: 107.9 kB / 0.7959 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006346/0.7662, allocations: 208.8 kB / 0.7961 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-05/0.7663, allocations: 20 kB / 0.7961 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001236/0.7675, allocations: 0.7349 MB / 0.7969 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7675, allocations: 4 kB / 0.7969 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001571/0.7691, allocations: 479.6 kB / 0.7973 GB, free: 14.3 MB / 0.5606 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.01547/0.7846, allocations: 5.351 MB / 0.8025 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006626/0.7912, allocations: 2.452 MB / 0.8049 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7912, allocations: 4.25 kB / 0.8049 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00444/0.7956, allocations: 1.552 MB / 0.8065 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.7968, allocations: 116.5 kB / 0.8066 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04058/0.8374, allocations: 16.27 MB / 0.8225 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.838, allocations: 0.5238 MB / 0.823 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006297/0.8386, allocations: 124.1 kB / 0.8231 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/0.8393, allocations: 471.3 kB / 0.8235 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.8393, allocations: 0 / 0.8235 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08292/0.9223, allocations: 37.48 MB / 0.8601 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.68, allocations: 9.156 kB / 0.8601 GB, free: 13.7 MB / 0.6231 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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_FourthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.55132515495643] Failed to read output from testmodel.py, exit status != 0: 16.821735011879355 16.854398878 16.307156558 Calling exit ...