Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 115.4 kB / 17.07 MB, free: 6 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.001218/0.001218, allocations: 190.9 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1871/0.1871, allocations: 37.98 MB / 309.2 MB, free: 5.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 64.38 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1337, allocations: 55.24 MB / 487.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.006483/0.1403, allocations: 4.414 MB / 491.5 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003055/0.1434, allocations: 1.559 MB / 493.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.1437, allocations: 15.88 kB / 493.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009931/0.1447, allocations: 282.7 kB / 493.4 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006589/0.1454, allocations: 282.6 kB / 493.6 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007148/0.1461, allocations: 247.4 kB / 493.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006251/0.1468, allocations: 0.6079 MB / 494.5 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.1472, allocations: 231.5 kB / 494.7 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004219/0.1476, allocations: 271 kB / 495 MB, free: 444 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.1481, allocations: 374.9 kB / 495.4 MB, free: 68 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.1482, allocations: 40 kB / 495.4 MB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.1487, allocations: 219.6 kB / 495.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.1489, allocations: 231.4 kB / 495.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003023/0.1493, allocations: 254.7 kB / 496.1 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007608/0.15, allocations: 0.6659 MB / 496.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.15, allocations: 0 / 496.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1501, allocations: 0 / 496.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1501, allocations: 0 / 496.7 MB, free: 14.67 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001664/0.1517, allocations: 0.7738 MB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.1518, allocations: 15.88 kB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.1525, allocations: 92.22 kB / 497.6 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007399/0.1532, allocations: 419.2 kB / 498 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1533, allocations: 33.36 kB / 498.1 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.1534, allocations: 56.08 kB / 498.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/0.1544, allocations: 0.6915 MB / 498.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.1544, allocations: 4 kB / 498.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.196e-05/0.1545, allocations: 19.92 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002477/0.1548, allocations: 72.89 kB / 498.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1558, allocations: 0.6674 MB / 499.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.1594, allocations: 2.642 MB / 0.4905 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006241/0.16, allocations: 321.3 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.1604, allocations: 205.7 kB / 0.491 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.1604, allocations: 4 kB / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.1605, allocations: 38.56 kB / 0.491 GB, free: 8.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/0.1605, allocations: 3.938 kB / 0.491 GB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002522/0.163, allocations: 1.299 MB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.1631, allocations: 81.11 kB / 0.4923 GB, free: 6.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004077/0.1635, allocations: 287.2 kB / 0.4926 GB, free: 6.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.625e-05/0.1636, allocations: 29.7 kB / 0.4926 GB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.1638, allocations: 251.6 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1639, allocations: 141.9 kB / 0.493 GB, free: 6.164 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.1641, allocations: 90.02 kB / 0.4931 GB, free: 6.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1643, allocations: 354.9 kB / 0.4934 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.1645, allocations: 188.9 kB / 0.4936 GB, free: 5.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.165, allocations: 325.3 kB / 0.4939 GB, free: 5.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.1657, allocations: 0.5545 MB / 0.4945 GB, free: 4.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1657, allocations: 4 kB / 0.4945 GB, free: 4.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001251/0.167, allocations: 0.6738 MB / 0.4951 GB, free: 3.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.167, allocations: 8 kB / 0.4951 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008686/0.1679, allocations: 492.1 kB / 0.4956 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004403/0.1683, allocations: 109.6 kB / 0.4957 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1686, allocations: 91.81 kB / 0.4958 GB, free: 3.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003121/0.1718, allocations: 3.25 MB / 0.499 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.1721, allocations: 27.91 kB / 0.499 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.1722, allocations: 20 kB / 0.499 GB, free: 15.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0003221/0.1725, allocations: 221.8 kB / 0.4992 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.1726, allocations: 39.52 kB / 0.4993 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007349/0.1734, allocations: 464.7 kB / 0.4997 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.1734, allocations: 12 kB / 0.4997 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1734, allocations: 0 / 0.4997 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.1734, allocations: 7.922 kB / 0.4997 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.175, allocations: 1.007 MB / 0.5007 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.1751, allocations: 4 kB / 0.5007 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.1754, allocations: 71.89 kB / 0.5008 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1754, allocations: 3.938 kB / 0.5008 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.1755, allocations: 11.98 kB / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1755, allocations: 4 kB / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.1755, allocations: 3.938 kB / 0.5008 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.1765, allocations: 0.7512 MB / 0.5016 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.1767, allocations: 140.7 kB / 0.5017 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.1767, allocations: 11.94 kB / 0.5017 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1769, allocations: 15.97 kB / 0.5017 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.177, allocations: 23.97 kB / 0.5017 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.177, allocations: 8 kB / 0.5017 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.1772, allocations: 207.1 kB / 0.5019 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1772, allocations: 0 / 0.5019 GB, free: 12.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.1778, allocations: 112 kB / 0.502 GB, free: 12.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002639/0.1781, allocations: 135.1 kB / 0.5022 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.1793, allocations: 0.7121 MB / 0.5029 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1793, allocations: 0 / 0.5029 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.1796, allocations: 213.4 kB / 0.5031 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.1802, allocations: 77.09 kB / 0.5031 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.182, allocations: 1.115 MB / 0.5042 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.1825, allocations: 0.8668 MB / 0.5051 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.1827, allocations: 107.2 kB / 0.5052 GB, free: 9.047 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.313e-05/0.1828, allocations: 35.42 kB / 0.5052 GB, free: 9.012 MB / 398.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1828, allocations: 0 / 0.5052 GB, free: 9.012 MB / 398.1 MB Notification: Performance of Templates: time 0.009296/0.1921, allocations: 4.341 MB / 0.5095 GB, free: 4.664 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)