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.00129/0.00129, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001227/0.001227, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.379/1.379, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1843/0.1843, allocations: 38.03 MB / 329.7 MB, free: 8.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 69.09 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 58.06 MB / 456.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.008519/0.1149, allocations: 7.442 MB / 464.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.1194, allocations: 2.998 MB / 467.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.1199, allocations: 23.88 kB / 467.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.1219, allocations: 0.7739 MB / 468.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1236, allocations: 0.696 MB / 468.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008661/0.1244, allocations: 363.2 kB / 469.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1261, allocations: 1.321 MB / 470.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.1272, allocations: 0.7564 MB / 471.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.128, allocations: 0.5526 MB / 471.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009974/0.129, allocations: 0.6268 MB / 472.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.1292, allocations: 76 kB / 472.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008502/0.1301, allocations: 483.1 kB / 472.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004687/0.1305, allocations: 454.9 kB / 473.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006597/0.1312, allocations: 0.4976 MB / 473.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.1327, allocations: 1.41 MB / 475.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1327, allocations: 0 / 475.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1327, allocations: 0 / 475.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.492e-05/0.1328, allocations: 3.938 kB / 475.3 MB, free: 5.562 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.002448/0.1352, allocations: 1.266 MB / 476.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1353, allocations: 11.89 kB / 476.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.1365, allocations: 203.6 kB / 476.8 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.1378, allocations: 0.6865 MB / 477.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.743e-05/0.1379, allocations: 62.36 kB / 477.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.1381, allocations: 91.94 kB / 477.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.1398, allocations: 1.127 MB / 478.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.1398, allocations: 0 / 478.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.1399, allocations: 32 kB / 478.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.1401, allocations: 73.95 kB / 478.8 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.1414, allocations: 0.8899 MB / 479.7 MB, free: 0.9922 MB / 350.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.005062/0.1465, allocations: 4.078 MB / 483.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.1471, allocations: 418 kB / 484.2 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.1475, allocations: 272.5 kB / 484.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.1475, allocations: 23.81 kB / 484.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1475, allocations: 38.56 kB / 484.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.703e-06/0.1475, allocations: 0 / 484.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004161/0.1517, allocations: 1.977 MB / 486.5 MB, free: 9.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1518, allocations: 85.55 kB / 486.6 MB, free: 9.777 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006354/0.1524, allocations: 0.5655 MB / 487.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.1525, allocations: 37.7 kB / 487.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.1528, allocations: 466.4 kB / 487.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.153, allocations: 197.3 kB / 487.9 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.1532, allocations: 146.5 kB / 488 MB, free: 8.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1533, allocations: 378.7 kB / 488.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004004/0.1537, allocations: 269.8 kB / 488.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005585/0.1543, allocations: 0.5081 MB / 489.1 MB, free: 7.094 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.00293/0.1572, allocations: 1.415 MB / 490.6 MB, free: 5.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1573, allocations: 4 kB / 490.6 MB, free: 5.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001932/0.1592, allocations: 1.095 MB / 491.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1592, allocations: 8 kB / 491.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001241/0.1605, allocations: 0.7531 MB / 492.4 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.1611, allocations: 162.4 kB / 492.6 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006062/0.1617, allocations: 175.7 kB / 492.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004258/0.1659, allocations: 4.853 MB / 497.6 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005563/0.1665, allocations: 39.97 kB / 497.6 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.1666, allocations: 28 kB / 497.7 MB, free: 13.97 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.0005509/0.1672, allocations: 331.5 kB / 498 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.1673, allocations: 79.02 kB / 498.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.1683, allocations: 0.6395 MB / 498.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1683, allocations: 4 kB / 498.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.1683, allocations: 0 / 498.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.1683, allocations: 7.984 kB / 498.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.1708, allocations: 1.518 MB / 0.4885 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1708, allocations: 0 / 0.4885 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005773/0.1714, allocations: 123.9 kB / 0.4886 GB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.1714, allocations: 4 kB / 0.4886 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-05/0.1714, allocations: 16 kB / 0.4886 GB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.1714, allocations: 7.938 kB / 0.4887 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1715, allocations: 4 kB / 0.4887 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.1727, allocations: 0.9514 MB / 0.4896 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.1729, allocations: 176.4 kB / 0.4898 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.1731, allocations: 31.89 kB / 0.4898 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/0.1734, allocations: 19.98 kB / 0.4898 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.273e-05/0.1735, allocations: 40.27 kB / 0.4898 GB, free: 9.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.1735, allocations: 16 kB / 0.4899 GB, free: 9.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004659/0.174, allocations: 411 kB / 0.4903 GB, free: 9.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.174, allocations: 0 / 0.4903 GB, free: 9.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.1748, allocations: 232 kB / 0.4905 GB, free: 9.238 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.0002894/0.1751, allocations: 142.1 kB / 0.4906 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.1769, allocations: 1.147 MB / 0.4917 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1769, allocations: 0 / 0.4917 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.1773, allocations: 267.8 kB / 0.492 GB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007944/0.1781, allocations: 145.6 kB / 0.4921 GB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.1813, allocations: 1.954 MB / 0.494 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.1821, allocations: 1.082 MB / 0.4951 GB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006886/0.1828, allocations: 197.8 kB / 0.4953 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.183, allocations: 55.42 kB / 0.4953 GB, free: 4.137 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.183, allocations: 0 / 0.4953 GB, free: 4.137 MB / 382.1 MB Notification: Performance of Templates: time 0.02249/0.2055, allocations: 8.662 MB / 0.5038 GB, free: 11.53 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)