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.001296/0.001296, allocations: 105.2 kB / 16.5 MB, free: 6.695 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.001463/0.001463, allocations: 194.4 kB / 17.42 MB, free: 6.09 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1777/0.1777, allocations: 38.02 MB / 329.3 MB, free: 8.824 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 57.7 kB / 398.1 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 58.06 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.01006/0.1126, allocations: 8.689 MB / 464.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.1179, allocations: 3.381 MB / 468.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005695/0.1185, allocations: 51.69 kB / 468.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.1203, allocations: 0.7424 MB / 469 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.1217, allocations: 0.6303 MB / 469.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008184/0.1225, allocations: 339.3 kB / 470 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.1243, allocations: 1.999 MB / 472 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008982/0.1253, allocations: 0.6933 MB / 472.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005856/0.1259, allocations: 489.9 kB / 473.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008337/0.1267, allocations: 0.6658 MB / 473.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.1268, allocations: 56 kB / 473.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007656/0.1276, allocations: 487 kB / 474.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003861/0.128, allocations: 446.8 kB / 474.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.1285, allocations: 493.5 kB / 475.3 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.1297, allocations: 1.371 MB / 476.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1297, allocations: 4 kB / 476.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1297, allocations: 3.938 kB / 476.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1297, allocations: 0 / 476.6 MB, free: 3.941 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.002061/0.1318, allocations: 1.258 MB / 477.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1318, allocations: 12.03 kB / 477.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.1331, allocations: 207.5 kB / 478.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1344, allocations: 0.6826 MB / 478.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.1344, allocations: 58.38 kB / 478.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.1347, allocations: 107.8 kB / 479 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.1363, allocations: 1.111 MB / 480.1 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.1363, allocations: 0 / 480.1 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.832e-05/0.1364, allocations: 39.98 kB / 480.1 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.1366, allocations: 69.97 kB / 480.2 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.138, allocations: 0.89 MB / 481.1 MB, free: 15.37 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.005085/0.1431, allocations: 4.089 MB / 485.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006053/0.1437, allocations: 412.6 kB / 485.6 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.1441, allocations: 273.6 kB / 485.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.1442, allocations: 11.92 kB / 485.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.1442, allocations: 38.56 kB / 485.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.933e-06/0.1442, allocations: 0 / 485.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.004088/0.1483, allocations: 1.977 MB / 487.8 MB, free: 8.262 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.1484, allocations: 85.53 kB / 487.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.149, allocations: 0.5615 MB / 488.5 MB, free: 7.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.1491, allocations: 37.7 kB / 488.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.1493, allocations: 470.4 kB / 489 MB, free: 7.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.1495, allocations: 197.2 kB / 489.2 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.1497, allocations: 146.6 kB / 489.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1498, allocations: 382.7 kB / 489.7 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.1503, allocations: 273.8 kB / 490 MB, free: 6.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.1508, allocations: 0.5004 MB / 490.5 MB, free: 5.477 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.002998/0.1538, allocations: 1.411 MB / 491.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1538, allocations: 4 kB / 491.9 MB, free: 3.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001788/0.1556, allocations: 1.091 MB / 493 MB, free: 2.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1557, allocations: 8 kB / 493 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001181/0.1569, allocations: 0.7648 MB / 493.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.1574, allocations: 150.5 kB / 493.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.158, allocations: 179.7 kB / 494.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.1617, allocations: 4.495 MB / 498.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.1623, allocations: 39.97 kB / 498.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.1624, allocations: 35.98 kB / 498.6 MB, free: 12.73 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.0005704/0.163, allocations: 329.4 kB / 499 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.1632, allocations: 63.34 kB / 499 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.1643, allocations: 0.6433 MB / 499.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.1643, allocations: 8 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.1643, allocations: 4 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1643, allocations: 3.984 kB / 499.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.1668, allocations: 1.518 MB / 0.4894 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1669, allocations: 4 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006015/0.1675, allocations: 119.9 kB / 0.4896 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.1675, allocations: 4 kB / 0.4896 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/0.1675, allocations: 27.92 kB / 0.4896 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.1676, allocations: 4 kB / 0.4896 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1676, allocations: 3.938 kB / 0.4896 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.1688, allocations: 0.9553 MB / 0.4905 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.1691, allocations: 188.2 kB / 0.4907 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1692, allocations: 15.94 kB / 0.4907 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.1695, allocations: 19.98 kB / 0.4908 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.1696, allocations: 32.39 kB / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.1697, allocations: 19.98 kB / 0.4908 GB, free: 8.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004778/0.1701, allocations: 411 kB / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1702, allocations: 0 / 0.4912 GB, free: 8.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008039/0.171, allocations: 232 kB / 0.4914 GB, free: 8 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.0002723/0.1712, allocations: 142.5 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.1728, allocations: 1.008 MB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.1728, allocations: 0 / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.1732, allocations: 270.6 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/0.174, allocations: 142.8 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003244/0.1772, allocations: 2.331 MB / 0.4952 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.178, allocations: 1.082 MB / 0.4963 GB, free: 2.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.1786, allocations: 197.8 kB / 0.4964 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.1788, allocations: 63.42 kB / 0.4965 GB, free: 2.66 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1788, allocations: 4 kB / 0.4965 GB, free: 2.656 MB / 382.1 MB Notification: Performance of Templates: time 0.01519/0.194, allocations: 8.306 MB / 0.5046 GB, free: 10.4 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)