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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 189.4 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1811/0.1811, allocations: 38.53 MB / 346.3 MB, free: 2.098 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 63.89 kB / 484.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3276, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.007409/0.3351, allocations: 7.647 MB / 0.5405 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005433/0.3405, allocations: 3.014 MB / 0.5434 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006473/0.3411, allocations: 37.69 kB / 0.5435 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.3435, allocations: 0.815 MB / 0.5443 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.3454, allocations: 0.7092 MB / 0.545 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3465, allocations: 370.8 kB / 0.5453 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.3482, allocations: 1.34 MB / 0.5466 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.349, allocations: 0.4991 MB / 0.5471 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009174/0.3499, allocations: 0.5688 MB / 0.5477 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3509, allocations: 0.6814 MB / 0.5483 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.3511, allocations: 74.22 kB / 0.5484 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.3521, allocations: 0.5327 MB / 0.5489 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000532/0.3527, allocations: 465.1 kB / 0.5494 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006302/0.3533, allocations: 0.505 MB / 0.5499 GB, free: 9.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.3553, allocations: 1.428 MB / 0.5513 GB, free: 8.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3553, allocations: 1.406 kB / 0.5513 GB, free: 8.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3553, allocations: 0 / 0.5513 GB, free: 8.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.3554, allocations: 0 / 0.5513 GB, free: 8.379 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.002517/0.3579, allocations: 1.216 MB / 0.5525 GB, free: 7.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3579, allocations: 8.594 kB / 0.5525 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.3592, allocations: 208.5 kB / 0.5527 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.3608, allocations: 0.6511 MB / 0.5533 GB, free: 6.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.026e-05/0.3609, allocations: 67.08 kB / 0.5534 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.3611, allocations: 96.33 kB / 0.5534 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.3631, allocations: 1.119 MB / 0.5545 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.3632, allocations: 7.922 kB / 0.5545 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.3632, allocations: 32 kB / 0.5546 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001787/0.3634, allocations: 73.97 kB / 0.5547 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.3649, allocations: 0.8899 MB / 0.5555 GB, free: 4.977 MB / 398.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.005855/0.3708, allocations: 3.976 MB / 0.5594 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/0.3715, allocations: 332.2 kB / 0.5597 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004166/0.3719, allocations: 253.6 kB / 0.56 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.3719, allocations: 11.88 kB / 0.56 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.372, allocations: 42.56 kB / 0.56 GB, free: 140 kB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.013e-06/0.372, allocations: 0 / 0.56 GB, free: 140 kB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.004458/0.3764, allocations: 1.924 MB / 0.5619 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.3765, allocations: 81.55 kB / 0.562 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006984/0.3772, allocations: 0.5655 MB / 0.5625 GB, free: 13.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.3772, allocations: 37.7 kB / 0.5626 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.3776, allocations: 487.6 kB / 0.563 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.3778, allocations: 202.3 kB / 0.5632 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.378, allocations: 142.6 kB / 0.5634 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3782, allocations: 386.7 kB / 0.5637 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.3786, allocations: 269.8 kB / 0.564 GB, free: 11.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.3792, allocations: 0.5042 MB / 0.5645 GB, free: 11.38 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.003283/0.3825, allocations: 1.41 MB / 0.5658 GB, free: 9.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.3825, allocations: 4 kB / 0.5659 GB, free: 9.859 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001929/0.3845, allocations: 1.021 MB / 0.5668 GB, free: 8.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3845, allocations: 9.875 kB / 0.5669 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00128/0.3858, allocations: 0.6755 MB / 0.5675 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.3863, allocations: 158.4 kB / 0.5677 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.3869, allocations: 179.7 kB / 0.5678 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004494/0.3914, allocations: 4.55 MB / 0.5723 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.3921, allocations: 43.91 kB / 0.5723 GB, free: 2.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.3921, allocations: 28 kB / 0.5724 GB, free: 2.824 MB / 414.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.0005383/0.3927, allocations: 317.5 kB / 0.5727 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.3928, allocations: 71.47 kB / 0.5727 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.394, allocations: 0.6434 MB / 0.5734 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.394, allocations: 8 kB / 0.5734 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.394, allocations: 0 / 0.5734 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.394, allocations: 0 / 0.5734 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.3967, allocations: 1.502 MB / 0.5748 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3967, allocations: 3.938 kB / 0.5748 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.3974, allocations: 123.9 kB / 0.5749 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.3974, allocations: 4.094 kB / 0.575 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.3974, allocations: 15.98 kB / 0.575 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.3974, allocations: 7.938 kB / 0.575 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3974, allocations: 4.188 kB / 0.575 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.3989, allocations: 0.9586 MB / 0.5759 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.3993, allocations: 107.5 kB / 0.576 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/0.3993, allocations: 16.12 kB / 0.576 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003512/0.3997, allocations: 27.97 kB / 0.5761 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.3998, allocations: 36.31 kB / 0.5761 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.3998, allocations: 16 kB / 0.5761 GB, free: 14.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005564/0.4004, allocations: 411 kB / 0.5765 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4004, allocations: 4 kB / 0.5765 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009551/0.4013, allocations: 231.9 kB / 0.5767 GB, free: 14.21 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.0003087/0.4016, allocations: 139 kB / 0.5769 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.4033, allocations: 0.9805 MB / 0.5778 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4034, allocations: 0 / 0.5778 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.4038, allocations: 254.6 kB / 0.5781 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.4046, allocations: 148.7 kB / 0.5782 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003506/0.4081, allocations: 1.981 MB / 0.5801 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008566/0.409, allocations: 1.078 MB / 0.5812 GB, free: 9.523 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005653/0.4095, allocations: 201.8 kB / 0.5814 GB, free: 9.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.4097, allocations: 63.42 kB / 0.5814 GB, free: 9.262 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4097, allocations: 0 / 0.5814 GB, free: 9.262 MB / 430.1 MB Notification: Performance of Templates: time 0.01927/0.429, allocations: 9.423 MB / 0.5906 GB, free: 15.89 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.347944246605039] Failed to read output from testmodel.py, exit status != 0: 0.4379373351112008 0.45311575000000004 0.094485052 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7febc45397b0>