Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.0007573/0.0007573, allocations: 79.7 kB / 20.66 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] 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.0007905/0.0007905, allocations: 174 kB / 23.95 MB, free: 0.5977 MB / 18.57 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.8918/0.8918, allocations: 177.2 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2356/0.2356, allocations: 29.41 MB / 290.2 MB, free: 2.449 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PowerAngle,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.0009125/0.0009125, allocations: 71.89 kB / 430.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2387, allocations: 62.44 MB / 492.8 MB, free: 19.23 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.005822/0.2446, allocations: 7.043 MB / 499.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003126/0.2477, allocations: 2.821 MB / 0.4909 GB, free: 12.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003427/0.248, allocations: 37.25 kB / 0.4909 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.2492, allocations: 0.7674 MB / 0.4917 GB, free: 12.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.2509, allocations: 0.709 MB / 0.4924 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009622/0.2519, allocations: 392.9 kB / 0.4927 GB, free: 11.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.2532, allocations: 1.33 MB / 0.494 GB, free: 10.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006041/0.2538, allocations: 0.5561 MB / 0.4946 GB, free: 10.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.2546, allocations: 0.7526 MB / 0.4953 GB, free: 10.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000666/0.2553, allocations: 0.593 MB / 0.4959 GB, free: 9.781 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.2554, allocations: 78.56 kB / 0.496 GB, free: 9.777 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007125/0.2561, allocations: 0.4949 MB / 0.4964 GB, free: 9.539 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.2564, allocations: 464.8 kB / 0.4969 GB, free: 9.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.2567, allocations: 358 kB / 0.4972 GB, free: 9.074 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.2578, allocations: 1.455 MB / 0.4986 GB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2578, allocations: 0 / 0.4986 GB, free: 8.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2578, allocations: 1.062 kB / 0.4986 GB, free: 8.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.2579, allocations: 4 kB / 0.4987 GB, free: 8.145 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001394/0.2593, allocations: 1.224 MB / 0.4998 GB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2593, allocations: 12.7 kB / 0.4999 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.2594, allocations: 137.3 kB / 0.5 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007365/0.2601, allocations: 217.3 kB / 0.5002 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008449/0.261, allocations: 0.6499 MB / 0.5008 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.261, allocations: 64.06 kB / 0.5009 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.2612, allocations: 100.5 kB / 0.501 GB, free: 6.496 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.2623, allocations: 1.113 MB / 0.5021 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.2623, allocations: 6.297 kB / 0.5021 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.2623, allocations: 35.45 kB / 0.5021 GB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.875e-05/0.2624, allocations: 70.53 kB / 0.5022 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.2633, allocations: 0.8924 MB / 0.5031 GB, free: 5.324 MB / 410.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.002842/0.2662, allocations: 3.677 MB / 0.5066 GB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.2666, allocations: 324.1 kB / 0.507 GB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.2668, allocations: 252.7 kB / 0.5072 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.2669, allocations: 5.438 kB / 0.5072 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.2669, allocations: 37.16 kB / 0.5072 GB, free: 2.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.685e-06/0.2669, allocations: 0 / 0.5072 GB, free: 2.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.002516/0.2694, allocations: 1.94 MB / 0.5091 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.2694, allocations: 83.98 kB / 0.5092 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.2699, allocations: 0.5853 MB / 0.5098 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2699, allocations: 32.27 kB / 0.5098 GB, free: 496 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2701, allocations: 486.8 kB / 0.5103 GB, free: 56 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.2702, allocations: 195.4 kB / 0.5105 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.2703, allocations: 149.3 kB / 0.5106 GB, free: 15.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2705, allocations: 379 kB / 0.511 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.2708, allocations: 269.2 kB / 0.5112 GB, free: 15.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.2712, allocations: 0.5003 MB / 0.5117 GB, free: 14.65 MB / 426.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.273, allocations: 1.41 MB / 0.5131 GB, free: 13.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.273, allocations: 8 kB / 0.5131 GB, free: 13.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00128/0.2742, allocations: 1.021 MB / 0.5141 GB, free: 12.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2743, allocations: 18.09 kB / 0.5141 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007395/0.275, allocations: 0.6792 MB / 0.5148 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.2753, allocations: 170.3 kB / 0.5149 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.2757, allocations: 167.8 kB / 0.5151 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.2785, allocations: 4.53 MB / 0.5195 GB, free: 6.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.2788, allocations: 39.97 kB / 0.5196 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.2789, allocations: 32 kB / 0.5196 GB, free: 6.109 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: generator.w_el = generator.omega[1] + generator.omega[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004002/0.2793, allocations: 313.5 kB / 0.5199 GB, free: 5.793 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.2793, allocations: 71.53 kB / 0.52 GB, free: 5.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006716/0.28, allocations: 0.6489 MB / 0.5206 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.28, allocations: 11.94 kB / 0.5206 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.28, allocations: 4 kB / 0.5206 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.28, allocations: 3.984 kB / 0.5206 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.2817, allocations: 1.429 MB / 0.522 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2817, allocations: 4.188 kB / 0.522 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.2821, allocations: 127.8 kB / 0.5221 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.2821, allocations: 4 kB / 0.5221 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.2821, allocations: 16 kB / 0.5222 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2821, allocations: 4 kB / 0.5222 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2821, allocations: 4 kB / 0.5222 GB, free: 3.391 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008397/0.283, allocations: 0.9474 MB / 0.5231 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.2831, allocations: 107.6 kB / 0.5232 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.2832, allocations: 27.94 kB / 0.5232 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.2834, allocations: 19.98 kB / 0.5232 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.634e-05/0.2834, allocations: 40.38 kB / 0.5233 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.2834, allocations: 19.94 kB / 0.5233 GB, free: 2.195 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003186/0.2838, allocations: 411 kB / 0.5237 GB, free: 1.793 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2838, allocations: 3.938 kB / 0.5237 GB, free: 1.789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006529/0.2844, allocations: 231.9 kB / 0.5239 GB, free: 1.562 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001418/0.2858, allocations: 1.521 MB / 0.5254 GB, free: 16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.2868, allocations: 0.9881 MB / 0.5264 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2868, allocations: 0 / 0.5264 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2871, allocations: 254.6 kB / 0.5266 GB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.2876, allocations: 155.5 kB / 0.5267 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00696/0.2945, allocations: 6.816 MB / 0.5334 GB, free: 7.402 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.2949, allocations: 490.4 kB / 0.5339 GB, free: 6.898 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.2953, allocations: 201.8 kB / 0.5341 GB, free: 6.699 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.2956, allocations: 328.4 kB / 0.5344 GB, free: 6.379 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2956, allocations: 0 / 0.5344 GB, free: 6.379 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.3346, allocations: 17.27 MB / 0.5512 GB, free: 5.309 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.73, allocations: 6.984 kB / 0.5512 GB, free: 5.305 MB / 458.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PowerAngle.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.685455132741481] Failed to read output from testmodel.py, exit status != 0: 7.8294263100251555 7.840635543 7.580905308 Calling exit ...