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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 115.2 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 190 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1731/0.1731, allocations: 38.02 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 65.03 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09736, allocations: 58.06 MB / 456.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.009901/0.1073, allocations: 8.682 MB / 465 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005723/0.1131, allocations: 3.354 MB / 468.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000833/0.1139, allocations: 51.69 kB / 468.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.1161, allocations: 0.7401 MB / 469.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.1179, allocations: 0.6303 MB / 469.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.119, allocations: 335.5 kB / 470.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001764/0.1208, allocations: 1.336 MB / 471.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.1219, allocations: 0.7916 MB / 472.3 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.1226, allocations: 0.5564 MB / 472.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008662/0.1235, allocations: 0.6697 MB / 473.5 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1236, allocations: 76 kB / 473.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007682/0.1244, allocations: 471.2 kB / 474 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.1248, allocations: 462.8 kB / 474.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.1253, allocations: 0.5092 MB / 475 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1267, allocations: 1.406 MB / 476.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1268, allocations: 0 / 476.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1268, allocations: 0 / 476.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1268, allocations: 0 / 476.4 MB, free: 4.289 MB / 350.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.002162/0.129, allocations: 1.254 MB / 477.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.129, allocations: 11.89 kB / 477.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.1304, allocations: 203.6 kB / 477.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.1317, allocations: 0.6903 MB / 478.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.1318, allocations: 62.36 kB / 478.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.132, allocations: 103.8 kB / 478.7 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.1338, allocations: 1.111 MB / 479.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.1338, allocations: 0 / 479.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-05/0.1339, allocations: 39.97 kB / 479.8 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001694/0.1341, allocations: 69.97 kB / 479.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.1354, allocations: 0.8938 MB / 480.8 MB, free: 15.72 MB / 366.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.005258/0.1407, allocations: 4.078 MB / 484.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.1413, allocations: 422 kB / 485.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.1417, allocations: 264.6 kB / 485.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.284e-05/0.1417, allocations: 11.94 kB / 485.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.1417, allocations: 38.56 kB / 485.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.1417, allocations: 3.938 kB / 485.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.00415/0.1459, allocations: 1.981 MB / 487.6 MB, free: 8.617 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.146, allocations: 85.55 kB / 487.7 MB, free: 8.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.1466, allocations: 0.5615 MB / 488.2 MB, free: 7.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.1467, allocations: 33.7 kB / 488.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.147, allocations: 474.4 kB / 488.7 MB, free: 7.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1472, allocations: 193.2 kB / 488.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.1474, allocations: 146.6 kB / 489.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1476, allocations: 382.7 kB / 489.4 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.148, allocations: 273.8 kB / 489.7 MB, free: 6.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.1486, allocations: 0.5004 MB / 490.2 MB, free: 5.832 MB / 366.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.0031/0.1517, allocations: 1.415 MB / 491.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1517, allocations: 0 / 491.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001859/0.1536, allocations: 1.098 MB / 492.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1536, allocations: 8 kB / 492.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001343/0.1549, allocations: 0.7532 MB / 493.5 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.1555, allocations: 166.4 kB / 493.6 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.1561, allocations: 179.7 kB / 493.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.1603, allocations: 4.849 MB / 498.7 MB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005741/0.1609, allocations: 39.97 kB / 498.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.842e-05/0.161, allocations: 32 kB / 498.7 MB, free: 12.71 MB / 382.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.000532/0.1615, allocations: 323.6 kB / 499.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1616, allocations: 67.09 kB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1627, allocations: 0.6435 MB / 499.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1627, allocations: 8 kB / 499.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1627, allocations: 0 / 499.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1627, allocations: 7.938 kB / 499.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.165, allocations: 1.518 MB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.1651, allocations: 3.938 kB / 0.4895 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.1657, allocations: 123.9 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1657, allocations: 4 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.1658, allocations: 16 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.1658, allocations: 11.98 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1658, allocations: 3.938 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.167, allocations: 0.9514 MB / 0.4906 GB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.1672, allocations: 188.2 kB / 0.4908 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.063e-05/0.1673, allocations: 15.98 kB / 0.4908 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.1677, allocations: 19.98 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.1678, allocations: 40.27 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.496e-05/0.1678, allocations: 16 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005111/0.1683, allocations: 411 kB / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1684, allocations: 0 / 0.4913 GB, free: 8.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008144/0.1692, allocations: 232 kB / 0.4915 GB, free: 7.98 MB / 382.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.0002896/0.1695, allocations: 143.1 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.1713, allocations: 1.151 MB / 0.4928 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1713, allocations: 1.438 kB / 0.4928 GB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.1717, allocations: 266.7 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.1725, allocations: 142.2 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.1757, allocations: 2.313 MB / 0.4954 GB, free: 3.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006875/0.1764, allocations: 1.082 MB / 0.4965 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00061/0.177, allocations: 201.8 kB / 0.4967 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.1772, allocations: 55.44 kB / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1772, allocations: 3.938 kB / 0.4967 GB, free: 2.508 MB / 382.1 MB Notification: Performance of Templates: time 0.01605/0.1933, allocations: 8.675 MB / 0.5052 GB, free: 9.887 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PowerAngle.makefile (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)