Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0008183/0.0008183, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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 0.8649/0.8649, allocations: 177.1 MB / 199.4 MB, free: 5.934 MB / 186.7 MB " [Timeout remaining time 179] 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.001096/0.001096, allocations: 156.6 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2617/0.2617, allocations: 80.25 MB / 392.6 MB, free: 2.445 MB / 314.7 MB " [Timeout remaining time 180] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5548 GB, free: 12.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.418e-05, allocations: 8.297 kB / 0.5548 GB, free: 12.32 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.004425/0.004439, allocations: 5.765 MB / 0.5604 GB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00258/0.007019, allocations: 1.92 MB / 0.5623 GB, free: 4.605 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003172/0.007336, allocations: 12 kB / 0.5623 GB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.007836, allocations: 241.8 kB / 0.5625 GB, free: 4.355 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.009039, allocations: 0.8662 MB / 0.5634 GB, free: 3.488 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007791/0.009819, allocations: 0.6345 MB / 0.564 GB, free: 2.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001156/0.01097, allocations: 1.572 MB / 0.5655 GB, free: 1.277 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.01125, allocations: 218.9 kB / 0.5658 GB, free: 1.055 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007674/0.01202, allocations: 0.9039 MB / 0.5666 GB, free: 152 kB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.175/0.187, allocations: 0.6644 MB / 0.5673 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.1873, allocations: 122.5 kB / 0.5674 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.1878, allocations: 274.9 kB / 0.5677 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.188, allocations: 332.7 kB / 0.568 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003285/0.1883, allocations: 457.3 kB / 0.5684 GB, free: 16.16 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.1897, allocations: 1.73 MB / 0.5701 GB, free: 16.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1897, allocations: 5.766 kB / 0.5701 GB, free: 16.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1897, allocations: 0 / 0.5701 GB, free: 16.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.1897, allocations: 0 / 0.5701 GB, free: 16.08 MB / 442.7 MB 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.004713/0.1945, allocations: 2.8 MB / 0.5728 GB, free: 15.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.1945, allocations: 10.34 kB / 0.5729 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.1946, allocations: 124.7 kB / 0.573 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.1972, allocations: 0.7975 MB / 0.5738 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009419/0.1981, allocations: 0.8279 MB / 0.5746 GB, free: 14.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.1983, allocations: 341.1 kB / 0.5749 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.1984, allocations: 81.64 kB / 0.575 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.1997, allocations: 1.109 MB / 0.576 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1997, allocations: 0 / 0.576 GB, free: 14.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.1998, allocations: 31.22 kB / 0.5761 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.1998, allocations: 18.59 kB / 0.5761 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.2011, allocations: 1.008 MB / 0.5771 GB, free: 13.86 MB / 442.7 MB 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.003711/0.2048, allocations: 2.94 MB / 0.58 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004066/0.2089, allocations: 2.024 MB / 0.5819 GB, free: 11.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008184/0.2097, allocations: 0.6444 MB / 0.5826 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.303e-05/0.2098, allocations: 12.05 kB / 0.5826 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.2108, allocations: 0.8422 MB / 0.5834 GB, free: 11.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 2.054e-06/0.2108, allocations: 1.125 kB / 0.5834 GB, free: 11.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.01459/0.2254, allocations: 7.07 MB / 0.5903 GB, free: 8.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2254, allocations: 113 kB / 0.5904 GB, free: 8.816 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/0.2263, allocations: 1.103 MB / 0.5915 GB, free: 8.191 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.2264, allocations: 47.06 kB / 0.5915 GB, free: 8.145 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.2266, allocations: 0.4949 MB / 0.592 GB, free: 7.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.2268, allocations: 363.9 kB / 0.5924 GB, free: 7.402 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.2271, allocations: 282 kB / 0.5926 GB, free: 7.234 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 1.989e-05/0.2271, allocations: 302.7 kB / 0.5929 GB, free: 6.938 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009585/0.2281, allocations: 0.8098 MB / 0.5937 GB, free: 6.488 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.2291, allocations: 0.9789 MB / 0.5947 GB, free: 5.879 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/0.2406, allocations: 5.777 MB / 0.6003 GB, free: 2.973 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2406, allocations: 0 / 0.6003 GB, free: 2.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00668/0.2473, allocations: 4.4 MB / 0.6046 GB, free: 15.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.2473, allocations: 59.41 kB / 0.6047 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.2474, allocations: 4 kB / 0.6047 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003025/0.2504, allocations: 1.591 MB / 0.6062 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.2511, allocations: 280 kB / 0.6065 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.2624, allocations: 8.227 MB / 0.6145 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.2633, allocations: 207.2 kB / 0.6147 GB, free: 5.086 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.393e-05/0.2634, allocations: 55.97 kB / 0.6148 GB, free: 5.031 MB / 458.7 MB 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.0004438/0.2639, allocations: 302.6 kB / 0.6151 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.264, allocations: 135.2 kB / 0.6152 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006839/0.2709, allocations: 3.864 MB / 0.619 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.2709, allocations: 8 kB / 0.619 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2709, allocations: 15.94 kB / 0.619 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.2709, allocations: 3.984 kB / 0.619 GB, free: 0.7148 MB / 458.7 MB 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.007922/0.2788, allocations: 4.972 MB / 0.6238 GB, free: 11.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.2788, allocations: 5.594 kB / 0.6238 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.2791, allocations: 107.4 kB / 0.6239 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002885/0.282, allocations: 1.605 MB / 0.6255 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.282, allocations: 20.77 kB / 0.6255 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.2935, allocations: 9.244 MB / 0.6346 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2935, allocations: 7.172 kB / 0.6346 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007823/0.3013, allocations: 4.759 MB / 0.6392 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.3015, allocations: 150.9 kB / 0.6394 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3016, allocations: 20 kB / 0.6394 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.3022, allocations: 107.9 kB / 0.6395 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003343/0.3025, allocations: 201.8 kB / 0.6397 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.3026, allocations: 31.98 kB / 0.6397 GB, free: 11.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006866/0.3033, allocations: 0.7354 MB / 0.6404 GB, free: 10.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3033, allocations: 0 / 0.6404 GB, free: 10.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009647/0.3043, allocations: 477.3 kB / 0.6409 GB, free: 10.06 MB / 490.7 MB 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.008058/0.3123, allocations: 5.348 MB / 0.6461 GB, free: 4.695 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.3158, allocations: 2.462 MB / 0.6485 GB, free: 2.199 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3158, allocations: 0 / 0.6485 GB, free: 2.199 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.318, allocations: 1.571 MB / 0.65 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.3185, allocations: 114.6 kB / 0.6501 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/0.3403, allocations: 16.09 MB / 0.6659 GB, free: 228 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.3407, allocations: 0.5317 MB / 0.6664 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002695/0.3409, allocations: 121.1 kB / 0.6665 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/0.3414, allocations: 480.3 kB / 0.667 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of SimCode: time 8.42e-07/0.3414, allocations: 0 / 0.667 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/0.3893, allocations: 37.82 MB / 0.7039 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.678/9.067, allocations: 3.375 kB / 0.7039 GB, free: 9.562 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.312085473909974] Failed to read output from testmodel.py, exit status != 0: 9.18664921540767 9.202343877 9.010180355 Calling exit ...