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.001318/0.001318, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001442/0.001442, allocations: 205.6 kB / 23.73 MB, free: 4.379 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.448/1.448, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2079/0.2079, allocations: 38.55 MB / 352.5 MB, free: 12.32 MB / 286.1 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.002959/0.002959, allocations: 63.91 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3179, allocations: 62.47 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.00958/0.3275, allocations: 7.102 MB / 0.5489 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005193/0.3327, allocations: 2.826 MB / 0.5516 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004602/0.3331, allocations: 37.09 kB / 0.5517 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.3353, allocations: 0.7546 MB / 0.5524 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.3375, allocations: 0.7061 MB / 0.5531 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3386, allocations: 385.8 kB / 0.5535 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.3408, allocations: 1.325 MB / 0.5548 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.342, allocations: 0.5664 MB / 0.5553 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.3432, allocations: 0.5773 MB / 0.5559 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.3443, allocations: 0.6808 MB / 0.5565 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3444, allocations: 76 kB / 0.5566 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.3454, allocations: 0.503 MB / 0.5571 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.3459, allocations: 470.7 kB / 0.5576 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.3464, allocations: 422.1 kB / 0.558 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.3483, allocations: 1.444 MB / 0.5594 GB, free: 2.355 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3483, allocations: 8 kB / 0.5594 GB, free: 2.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3483, allocations: 0 / 0.5594 GB, free: 2.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.3483, allocations: 0 / 0.5594 GB, free: 2.348 MB / 398.1 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.00227/0.3506, allocations: 1.22 MB / 0.5606 GB, free: 1.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3506, allocations: 11.98 kB / 0.5606 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.3508, allocations: 143.6 kB / 0.5607 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.352, allocations: 212.1 kB / 0.5609 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.3536, allocations: 0.6538 MB / 0.5616 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.3536, allocations: 70.16 kB / 0.5616 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/0.3539, allocations: 87.95 kB / 0.5617 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.3556, allocations: 1.123 MB / 0.5628 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.3556, allocations: 3.938 kB / 0.5628 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.68e-05/0.3557, allocations: 32 kB / 0.5628 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.3558, allocations: 69.95 kB / 0.5629 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001471/0.3573, allocations: 0.8821 MB / 0.5638 GB, free: 13.73 MB / 414.1 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.005619/0.3629, allocations: 3.689 MB / 0.5674 GB, free: 9.859 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.3635, allocations: 316.9 kB / 0.5677 GB, free: 9.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003815/0.3639, allocations: 255.6 kB / 0.5679 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.942e-05/0.3639, allocations: 8 kB / 0.5679 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.364, allocations: 34.56 kB / 0.568 GB, free: 9.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.454e-06/0.364, allocations: 0 / 0.568 GB, free: 9.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=52): time 0.004288/0.3683, allocations: 1.928 MB / 0.5698 GB, free: 7.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.3683, allocations: 89.48 kB / 0.5699 GB, free: 7.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/0.3691, allocations: 0.5848 MB / 0.5705 GB, free: 6.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.3691, allocations: 33.7 kB / 0.5705 GB, free: 6.527 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.3695, allocations: 487.7 kB / 0.571 GB, free: 6.043 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.3697, allocations: 198.3 kB / 0.5712 GB, free: 5.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.3699, allocations: 146.6 kB / 0.5713 GB, free: 5.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3701, allocations: 382.8 kB / 0.5717 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.3705, allocations: 269.8 kB / 0.5719 GB, free: 5.051 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006466/0.3712, allocations: 0.5042 MB / 0.5724 GB, free: 4.438 MB / 414.1 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.003209/0.3744, allocations: 1.418 MB / 0.5738 GB, free: 2.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3744, allocations: 4 kB / 0.5738 GB, free: 2.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002035/0.3764, allocations: 1.01 MB / 0.5748 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3764, allocations: 10.81 kB / 0.5748 GB, free: 1.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001225/0.3777, allocations: 0.6791 MB / 0.5755 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.3782, allocations: 162.4 kB / 0.5756 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.3788, allocations: 179.8 kB / 0.5758 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.3832, allocations: 4.53 MB / 0.5802 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.3839, allocations: 35.97 kB / 0.5803 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.959e-05/0.3839, allocations: 32 kB / 0.5803 GB, free: 11.9 MB / 430.1 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.0006219/0.3846, allocations: 325.3 kB / 0.5806 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.3847, allocations: 75.41 kB / 0.5807 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.3859, allocations: 0.6474 MB / 0.5813 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.3859, allocations: 8 kB / 0.5813 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.3859, allocations: 0 / 0.5813 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3859, allocations: 0 / 0.5813 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.3889, allocations: 1.428 MB / 0.5827 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3889, allocations: 0 / 0.5827 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.3895, allocations: 127.8 kB / 0.5828 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-06/0.3895, allocations: 4 kB / 0.5828 GB, free: 9.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.3895, allocations: 19.98 kB / 0.5829 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.3896, allocations: 4 kB / 0.5829 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.3896, allocations: 11.92 kB / 0.5829 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3909, allocations: 0.9549 MB / 0.5838 GB, free: 8.188 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.3913, allocations: 107.6 kB / 0.5839 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.3914, allocations: 20.12 kB / 0.5839 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.3917, allocations: 15.98 kB / 0.5839 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.3918, allocations: 40.31 kB / 0.584 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.3918, allocations: 15.98 kB / 0.584 GB, free: 7.992 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006134/0.3924, allocations: 411 kB / 0.5844 GB, free: 7.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3924, allocations: 0 / 0.5844 GB, free: 7.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008769/0.3933, allocations: 239.9 kB / 0.5846 GB, free: 7.355 MB / 430.1 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.002007/0.3953, allocations: 1.534 MB / 0.5861 GB, free: 5.773 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.397, allocations: 0.9832 MB / 0.5871 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.397, allocations: 0 / 0.5871 GB, free: 4.758 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.3974, allocations: 255.8 kB / 0.5873 GB, free: 4.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008346/0.3983, allocations: 142.7 kB / 0.5875 GB, free: 4.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.4089, allocations: 7.015 MB / 0.5943 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.4095, allocations: 490.5 kB / 0.5948 GB, free: 12.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000545/0.41, allocations: 197.8 kB / 0.595 GB, free: 12.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.4105, allocations: 327.3 kB / 0.5953 GB, free: 11.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.083e-06/0.4105, allocations: 0 / 0.5953 GB, free: 11.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.4682, allocations: 17.34 MB / 0.6122 GB, free: 10.85 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.56, allocations: 11.38 kB / 0.6122 GB, free: 10.84 MB / 462.1 MB " [Timeout remaining time 647] (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: 15.387391033000313] Failed to read output from testmodel.py, exit status != 0: 12.679264375008643 12.694477861 12.342758744 Calling exit ...