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.00114/0.00114, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.004957/0.004957, allocations: 172.8 kB / 24.91 MB, free: 8.746 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 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2601/0.2601, allocations: 29.42 MB / 291.2 MB, free: 2.477 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: 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 1.122e-06/1.122e-06, allocations: 0 / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226e-05/1.339e-05, allocations: 9.703 kB / 316.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.006075/0.006089, allocations: 6.322 MB / 323.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003619/0.009708, allocations: 2.997 MB / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.01034, allocations: 35.69 kB / 326.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006554/0.011, allocations: 274.2 kB / 326.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009599/0.01196, allocations: 0.7149 MB / 327.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.01249, allocations: 406.8 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.01356, allocations: 1.355 MB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000529/0.01409, allocations: 0.5963 MB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006331/0.01472, allocations: 0.8067 MB / 330.3 MB, free: 2.422 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006514/0.01537, allocations: 0.5766 MB / 330.9 MB, free: 1.844 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.285e-05/0.01545, allocations: 79.94 kB / 331 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004151/0.01586, allocations: 399.2 kB / 331.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.01615, allocations: 490.8 kB / 331.9 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.0164, allocations: 351.2 kB / 332.2 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.01715, allocations: 0.9343 MB / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01716, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.01716, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.01717, allocations: 0 / 333.1 MB, free: 15.61 MB / 314.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.00139/0.01856, allocations: 1.136 MB / 334.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.01859, allocations: 11.98 kB / 334.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.0192, allocations: 232.7 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.01981, allocations: 0.5478 MB / 335.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.01985, allocations: 58.38 kB / 335.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.01999, allocations: 104.5 kB / 335.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.02059, allocations: 0.6727 MB / 335.9 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.02062, allocations: 15.92 kB / 335.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.02066, allocations: 32 kB / 335.9 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.545e-05/0.02076, allocations: 69.95 kB / 336 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.02111, allocations: 281.7 kB / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.02355, allocations: 3.032 MB / 339.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.02378, allocations: 203 kB / 339.5 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.02389, allocations: 100.6 kB / 339.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.02391, allocations: 8 kB / 339.6 MB, free: 8.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.02393, allocations: 38.56 kB / 339.7 MB, free: 8.793 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 1.764e-06/0.02394, allocations: 0 / 339.7 MB, free: 8.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.001887/0.02582, allocations: 1.015 MB / 340.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.02586, allocations: 85.61 kB / 340.8 MB, free: 7.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.02612, allocations: 458.9 kB / 341.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.02615, allocations: 37.7 kB / 341.2 MB, free: 7.137 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.02632, allocations: 436.5 kB / 341.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.651e-05/0.02642, allocations: 198.4 kB / 341.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.02654, allocations: 142.5 kB / 342 MB, free: 6.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.02664, allocations: 374.6 kB / 342.4 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.02675, allocations: 73.97 kB / 342.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.02695, allocations: 324.3 kB / 342.8 MB, free: 5.488 MB / 314.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.0004606/0.02741, allocations: 0.5873 MB / 343.3 MB, free: 4.797 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.02742, allocations: 4 kB / 343.3 MB, free: 4.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006442/0.02806, allocations: 0.5385 MB / 343.9 MB, free: 4.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.02808, allocations: 16.14 kB / 343.9 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003395/0.02842, allocations: 280.2 kB / 344.2 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/0.02871, allocations: 138.9 kB / 344.3 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.029, allocations: 155.8 kB / 344.5 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.03112, allocations: 3.786 MB / 348.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.0313, allocations: 24 kB / 348.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.03133, allocations: 32.08 kB / 348.3 MB, free: 15.49 MB / 330.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.0001797/0.03151, allocations: 167.3 kB / 348.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.03157, allocations: 51.95 kB / 348.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.03193, allocations: 333 kB / 348.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.03193, allocations: 4 kB / 348.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.03193, allocations: 3.938 kB / 348.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.03194, allocations: 3.984 kB / 348.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.03283, allocations: 0.8421 MB / 349.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03283, allocations: 4 kB / 349.7 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.03311, allocations: 112.1 kB / 349.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.03311, allocations: 8 kB / 349.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.03313, allocations: 16 kB / 349.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.03314, allocations: 4 kB / 349.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.03314, allocations: 7.922 kB / 349.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.03356, allocations: 0.543 MB / 350.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.03367, allocations: 75.55 kB / 350.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.03372, allocations: 16 kB / 350.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.03384, allocations: 12 kB / 350.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.03388, allocations: 44.31 kB / 350.5 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.0339, allocations: 15.98 kB / 350.5 MB, free: 13.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.03404, allocations: 196.4 kB / 350.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.03404, allocations: 0 / 350.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.03444, allocations: 200 kB / 350.9 MB, free: 12.76 MB / 330.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.000109/0.03455, allocations: 93.28 kB / 351 MB, free: 12.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000604/0.03515, allocations: 0.7093 MB / 351.7 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/0.03516, allocations: 12.44 kB / 351.7 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.0353, allocations: 144.8 kB / 351.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.03571, allocations: 151.1 kB / 352 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.03762, allocations: 1.556 MB / 353.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.03779, allocations: 242.8 kB / 353.8 MB, free: 9.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001861/0.03797, allocations: 89.42 kB / 353.9 MB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.03821, allocations: 171.3 kB / 354.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.03821, allocations: 0 / 354.1 MB, free: 9.492 MB / 330.7 MB Notification: Performance of Templates: time 0.01114/0.04935, allocations: 8.135 MB / 362.2 MB, free: 1.492 MB / 330.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.32066647708416]