Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.001357/0.001357, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.583/1.583, allocations: 230.6 MB / 252.7 MB, free: 14.27 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.001792/0.001792, allocations: 218 kB / 309.2 MB, free: 3.125 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.6722/0.6722, allocations: 107.3 MB / 473 MB, free: 29.73 MB / 350.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.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.00256/0.00256, allocations: 82.62 kB / 0.6332 GB, free: 29.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1721, allocations: 80.18 MB / 0.7115 GB, free: 7.531 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.008093/0.1802, allocations: 5.783 MB / 0.7172 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004668/0.1848, allocations: 1.92 MB / 0.7191 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.1859, allocations: 8 kB / 0.7191 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008599/0.1868, allocations: 245.9 kB / 0.7193 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.1893, allocations: 0.8517 MB / 0.7201 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00147/0.1908, allocations: 0.6143 MB / 0.7207 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.1931, allocations: 1.6 MB / 0.7223 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004749/0.1935, allocations: 214.9 kB / 0.7225 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.1947, allocations: 0.6769 MB / 0.7232 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.1958, allocations: 0.7737 MB / 0.7239 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.196, allocations: 124 kB / 0.724 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006162/0.1966, allocations: 271.8 kB / 0.7243 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.197, allocations: 334.6 kB / 0.7246 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000573/0.1975, allocations: 0.5477 MB / 0.7251 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002168/0.1997, allocations: 1.7 MB / 0.7268 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1997, allocations: 0 / 0.7268 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1997, allocations: 0 / 0.7268 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.1997, allocations: 4 kB / 0.7268 GB, free: 7.816 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.009492/0.2092, allocations: 2.812 MB / 0.7295 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.2093, allocations: 8.031 kB / 0.7296 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.2094, allocations: 134.5 kB / 0.7297 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.2144, allocations: 0.7952 MB / 0.7305 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.2162, allocations: 0.8307 MB / 0.7313 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003632/0.2166, allocations: 337.3 kB / 0.7316 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.2168, allocations: 87.95 kB / 0.7317 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.219, allocations: 1.112 MB / 0.7328 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.219, allocations: 0 / 0.7328 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.492e-05/0.2191, allocations: 35.98 kB / 0.7328 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.2191, allocations: 19.94 kB / 0.7328 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.2213, allocations: 1.009 MB / 0.7338 GB, free: 468 kB / 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.006725/0.228, allocations: 2.948 MB / 0.7367 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007334/0.2354, allocations: 2.017 MB / 0.7387 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.237, allocations: 0.6439 MB / 0.7393 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.661e-05/0.2371, allocations: 13 kB / 0.7393 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001745/0.2388, allocations: 0.8428 MB / 0.7401 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=95): time 3.056e-06/0.2388, allocations: 0 / 0.7401 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=95): time 0.02954/0.2684, allocations: 7.06 MB / 0.747 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.2685, allocations: 123.7 kB / 0.7471 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.2703, allocations: 1.095 MB / 0.7482 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.2705, allocations: 45.7 kB / 0.7482 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.271, allocations: 0.4975 MB / 0.7487 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.2714, allocations: 368.9 kB / 0.7491 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/0.2719, allocations: 283.5 kB / 0.7493 GB, free: 312 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2721, allocations: 305.1 kB / 0.7496 GB, free: 4 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.2738, allocations: 0.8115 MB / 0.7504 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.2756, allocations: 0.9728 MB / 0.7514 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02499/0.3006, allocations: 5.778 MB / 0.757 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.3006, allocations: 4 kB / 0.757 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01427/0.3149, allocations: 4.395 MB / 0.7613 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.315, allocations: 61.59 kB / 0.7614 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.315, allocations: 0 / 0.7614 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005963/0.3209, allocations: 1.588 MB / 0.7629 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.3225, allocations: 279.6 kB / 0.7632 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02108/0.3436, allocations: 8.236 MB / 0.7712 GB, free: 9.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.3455, allocations: 207.2 kB / 0.7714 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3456, allocations: 51.98 kB / 0.7715 GB, free: 9.301 MB / 0.545 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006522/0.3463, allocations: 304 kB / 0.7718 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.3465, allocations: 139.1 kB / 0.7719 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.3596, allocations: 3.867 MB / 0.7757 GB, free: 4.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.3597, allocations: 8 kB / 0.7757 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.3597, allocations: 8 kB / 0.7757 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-05/0.3597, allocations: 7.984 kB / 0.7757 GB, free: 4.922 MB / 0.545 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.01524/0.3749, allocations: 4.975 MB / 0.7806 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.375, allocations: 3.938 kB / 0.7806 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/0.3756, allocations: 99.92 kB / 0.7807 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005796/0.3814, allocations: 1.598 MB / 0.7822 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.3816, allocations: 16 kB / 0.7822 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02163/0.4032, allocations: 9.254 MB / 0.7913 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.4032, allocations: 4 kB / 0.7913 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.4185, allocations: 4.766 MB / 0.7959 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005186/0.419, allocations: 154.8 kB / 0.7961 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.4192, allocations: 23.94 kB / 0.7961 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.4204, allocations: 111.9 kB / 0.7962 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006268/0.421, allocations: 204.6 kB / 0.7964 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.4211, allocations: 24 kB / 0.7964 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001175/0.4223, allocations: 0.7432 MB / 0.7972 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4223, allocations: 0 / 0.7972 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001483/0.4238, allocations: 475.6 kB / 0.7976 GB, free: 14.12 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,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 (63): * Single equations (assignments): 60 * 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.0157/0.4395, allocations: 5.347 MB / 0.8028 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006967/0.4464, allocations: 2.466 MB / 0.8052 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4464, allocations: 0 / 0.8052 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004643/0.4511, allocations: 1.558 MB / 0.8068 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.4526, allocations: 115.1 kB / 0.8069 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.411/0.8636, allocations: 16.25 MB / 0.8227 GB, free: 91.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.8643, allocations: 0.5319 MB / 0.8233 GB, free: 91.75 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006345/0.8649, allocations: 119.7 kB / 0.8234 GB, free: 91.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/0.8656, allocations: 479.4 kB / 0.8238 GB, free: 91.38 MB / 0.5762 GB Notification: Performance of SimCode: time 1.483e-06/0.8656, allocations: 0 / 0.8238 GB, free: 91.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07757/0.9431, allocations: 37.59 MB / 0.8605 GB, free: 63.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/16.37, allocations: 10.11 kB / 0.8605 GB, free: 63.44 MB / 0.5762 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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_ThirdOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.434447829145938] Failed to read output from testmodel.py, exit status != 0: 16.508206053171307 16.525851954 16.322888199 Calling exit ...