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.001497/0.001497, 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.545/1.545, allocations: 230.6 MB / 252.7 MB, free: 14.25 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.002843/0.002843, allocations: 214.5 kB / 309.2 MB, free: 3.129 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.647/0.647, allocations: 107.3 MB / 473 MB, free: 30 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.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.002528/0.002528, allocations: 84.61 kB / 0.6332 GB, free: 29.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1805, allocations: 80.17 MB / 0.7115 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.009381/0.1898, allocations: 5.935 MB / 0.7173 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005293/0.1951, allocations: 1.99 MB / 0.7193 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.1964, allocations: 12 kB / 0.7193 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.1976, allocations: 241.9 kB / 0.7195 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00338/0.201, allocations: 0.8624 MB / 0.7204 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.2029, allocations: 0.6532 MB / 0.721 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00293/0.2059, allocations: 1.69 MB / 0.7226 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.2065, allocations: 214.9 kB / 0.7228 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.2081, allocations: 0.7159 MB / 0.7235 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.2097, allocations: 0.8165 MB / 0.7243 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005372/0.2102, allocations: 132 kB / 0.7245 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.2113, allocations: 283.9 kB / 0.7247 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006847/0.2119, allocations: 354.5 kB / 0.7251 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001299/0.2132, allocations: 0.571 MB / 0.7256 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003323/0.2166, allocations: 1.778 MB / 0.7274 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2166, allocations: 0 / 0.7274 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/0.2166, allocations: 0 / 0.7274 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.952e-05/0.2167, allocations: 0 / 0.7274 GB, free: 7.266 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.0117/0.2284, allocations: 2.917 MB / 0.7302 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.2284, allocations: 8.031 kB / 0.7302 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000381/0.2288, allocations: 126.6 kB / 0.7303 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/0.2342, allocations: 0.8069 MB / 0.7311 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.2368, allocations: 0.8663 MB / 0.732 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004581/0.2372, allocations: 337.3 kB / 0.7323 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.2376, allocations: 91.95 kB / 0.7324 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/0.2404, allocations: 1.139 MB / 0.7335 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.2405, allocations: 4 kB / 0.7335 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.2406, allocations: 28 kB / 0.7335 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.2406, allocations: 20 kB / 0.7336 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.2431, allocations: 1.017 MB / 0.7345 GB, free: 15.72 MB / 0.5137 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.00822/0.2513, allocations: 3.038 MB / 0.7375 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007567/0.2589, allocations: 2.045 MB / 0.7395 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.2606, allocations: 0.6544 MB / 0.7402 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.2608, allocations: 20.92 kB / 0.7402 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/0.263, allocations: 0.8624 MB / 0.741 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=98): time 3.957e-06/0.263, allocations: 0 / 0.741 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of matching and sorting (n=98): time 0.02992/0.2929, allocations: 6.962 MB / 0.7478 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.293, allocations: 119.7 kB / 0.7479 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/0.2953, allocations: 1.143 MB / 0.749 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/0.2956, allocations: 45.7 kB / 0.7491 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.2961, allocations: 0.5054 MB / 0.7496 GB, free: 108 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006819/0.2968, allocations: 385 kB / 0.7499 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000947/0.2978, allocations: 299.5 kB / 0.7502 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2979, allocations: 301.1 kB / 0.7505 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/0.2999, allocations: 0.8506 MB / 0.7514 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.3021, allocations: 1.023 MB / 0.7523 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02801/0.3301, allocations: 6.141 MB / 0.7583 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.3301, allocations: 0 / 0.7583 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01615/0.3462, allocations: 4.543 MB / 0.7628 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-05/0.3463, allocations: 63.41 kB / 0.7628 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.3463, allocations: 0 / 0.7628 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006711/0.3531, allocations: 1.666 MB / 0.7645 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/0.3548, allocations: 299.6 kB / 0.7648 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02268/0.3775, allocations: 8.351 MB / 0.7729 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002272/0.3798, allocations: 211.1 kB / 0.7731 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003672/0.3802, allocations: 59.97 kB / 0.7732 GB, free: 7.605 MB / 0.545 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.001019/0.3812, allocations: 307.2 kB / 0.7735 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.3817, allocations: 135.2 kB / 0.7736 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.3954, allocations: 3.929 MB / 0.7774 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.3954, allocations: 12 kB / 0.7774 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.187e-05/0.3954, allocations: 4 kB / 0.7774 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.118e-05/0.3955, allocations: 3.984 kB / 0.7774 GB, free: 3.172 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.01691/0.4124, allocations: 5.053 MB / 0.7824 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/0.4124, allocations: 3.938 kB / 0.7824 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.4132, allocations: 103.9 kB / 0.7825 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005926/0.4191, allocations: 1.594 MB / 0.784 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/0.4194, allocations: 19.94 kB / 0.7841 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/0.4422, allocations: 9.246 MB / 0.7931 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.4422, allocations: 3.984 kB / 0.7931 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/0.4585, allocations: 4.841 MB / 0.7978 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.4591, allocations: 162.8 kB / 0.798 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005193/0.4596, allocations: 16 kB / 0.798 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.4612, allocations: 107.9 kB / 0.7981 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007923/0.462, allocations: 204.6 kB / 0.7983 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.4622, allocations: 31.98 kB / 0.7983 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001619/0.4638, allocations: 0.7673 MB / 0.7991 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4638, allocations: 3.938 kB / 0.7991 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002165/0.466, allocations: 495.6 kB / 0.7995 GB, free: 12.18 MB / 0.5762 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.01678/0.4828, allocations: 5.433 MB / 0.8049 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008205/0.491, allocations: 2.563 MB / 0.8074 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.491, allocations: 11.88 kB / 0.8074 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005085/0.4961, allocations: 1.581 MB / 0.8089 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.498, allocations: 109.3 kB / 0.809 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4553/0.9533, allocations: 17 MB / 0.8256 GB, free: 90.99 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.9539, allocations: 0.5452 MB / 0.8262 GB, free: 90.86 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007119/0.9546, allocations: 122.8 kB / 0.8263 GB, free: 90.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/0.9553, allocations: 487.9 kB / 0.8267 GB, free: 90.46 MB / 0.5762 GB Notification: Performance of SimCode: time 1.673e-06/0.9553, allocations: 1.062 kB / 0.8267 GB, free: 90.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/1.04, allocations: 38.99 MB / 0.8648 GB, free: 59.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.87/16.91, allocations: 13.2 kB / 0.8648 GB, free: 59.56 MB / 0.5762 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.910722301807255] Failed to read output from testmodel.py, exit status != 0: 17.05799896409735 17.077175948 16.856945514 Calling exit ...