Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 115.8 kB / 17.74 MB, free: 5.355 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.001266/0.001266, allocations: 185.5 kB / 18.67 MB, free: 4.43 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.369/1.369, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.223/0.223, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001416/0.001416, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.008544/0.1412, allocations: 5.5 MB / 493.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002906/0.1441, allocations: 1.345 MB / 494.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/0.1447, allocations: 19.88 kB / 494.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.1455, allocations: 135 kB / 494.8 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.1469, allocations: 374.2 kB / 495.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.1474, allocations: 135.8 kB / 495.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1487, allocations: 0.7399 MB / 496 MB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004161/0.1491, allocations: 204.2 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.1499, allocations: 350.4 kB / 496.5 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008399/0.1508, allocations: 378.7 kB / 496.9 MB, free: 15.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.1509, allocations: 40 kB / 497 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1511, allocations: 36 kB / 497 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.1514, allocations: 191.5 kB / 497.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003869/0.1518, allocations: 250.7 kB / 497.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.1524, allocations: 0.5294 MB / 498 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1524, allocations: 4 kB / 498 MB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1524, allocations: 3.938 kB / 498 MB, free: 14.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.1525, allocations: 0 / 498 MB, free: 14.11 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001785/0.1543, allocations: 0.797 MB / 498.8 MB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1543, allocations: 15.89 kB / 498.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.1545, allocations: 56.28 kB / 498.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008242/0.1553, allocations: 488.3 kB / 499.3 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.1554, allocations: 32.94 kB / 499.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.039e-05/0.1554, allocations: 36 kB / 499.4 MB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007228/0.1562, allocations: 0.5 MB / 499.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1562, allocations: 0 / 499.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.1562, allocations: 16 kB / 499.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.1563, allocations: 21 kB / 499.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.1568, allocations: 375.6 kB / 0.4886 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002381/0.1592, allocations: 2.067 MB / 0.4906 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.1597, allocations: 241.3 kB / 0.4908 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.1599, allocations: 125.7 kB / 0.4909 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.16, allocations: 8 kB / 0.4909 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.16, allocations: 38.55 kB / 0.491 GB, free: 9.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.16, allocations: 0 / 0.491 GB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001261/0.1613, allocations: 0.7541 MB / 0.4917 GB, free: 8.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.1614, allocations: 85.17 kB / 0.4918 GB, free: 8.109 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000417/0.1618, allocations: 385.4 kB / 0.4921 GB, free: 7.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1618, allocations: 29.7 kB / 0.4922 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.162, allocations: 291.1 kB / 0.4925 GB, free: 7.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.1622, allocations: 82.84 kB / 0.4925 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1623, allocations: 82.03 kB / 0.4926 GB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.1625, allocations: 350.7 kB / 0.4929 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1627, allocations: 84.83 kB / 0.493 GB, free: 6.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/0.1631, allocations: 281.2 kB / 0.4933 GB, free: 6.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006105/0.1637, allocations: 400.3 kB / 0.4937 GB, free: 5.953 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.1637, allocations: 4 kB / 0.4937 GB, free: 5.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007804/0.1645, allocations: 457.5 kB / 0.4941 GB, free: 5.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.1645, allocations: 8 kB / 0.4941 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1645, allocations: 4 kB / 0.4941 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.1648, allocations: 56.83 kB / 0.4942 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.165, allocations: 83.84 kB / 0.4943 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.1665, allocations: 1.626 MB / 0.4959 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.1668, allocations: 20.06 kB / 0.4959 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1668, allocations: 19.98 kB / 0.4959 GB, free: 3.535 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.167, allocations: 205.6 kB / 0.4961 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.1671, allocations: 39.47 kB / 0.4961 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003619/0.1675, allocations: 237.1 kB / 0.4963 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.1675, allocations: 4 kB / 0.4964 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1675, allocations: 0 / 0.4964 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1675, allocations: 3.938 kB / 0.4964 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009812/0.1685, allocations: 0.6994 MB / 0.497 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.1685, allocations: 3.938 kB / 0.497 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.1687, allocations: 40.17 kB / 0.4971 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1688, allocations: 4 kB / 0.4971 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.1688, allocations: 8 kB / 0.4971 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.1688, allocations: 7.984 kB / 0.4971 GB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1688, allocations: 4.062 kB / 0.4971 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.1693, allocations: 429.9 kB / 0.4975 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1694, allocations: 120.6 kB / 0.4976 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.1695, allocations: 4 kB / 0.4976 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.1696, allocations: 16.05 kB / 0.4976 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.12e-05/0.1696, allocations: 11.98 kB / 0.4977 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.1697, allocations: 8 kB / 0.4977 GB, free: 1.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002548/0.1699, allocations: 251.2 kB / 0.4979 GB, free: 1.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 0.4979 GB, free: 1.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004263/0.1704, allocations: 92 kB / 0.498 GB, free: 1.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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 (24): * Single equations (assignments): 23 * 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.0001371/0.1705, allocations: 111.1 kB / 0.4981 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006942/0.1712, allocations: 388.4 kB / 0.4985 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1712, allocations: 0 / 0.4985 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.1714, allocations: 87.84 kB / 0.4986 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.172, allocations: 105.6 kB / 0.4987 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.1735, allocations: 0.8843 MB / 0.4995 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.174, allocations: 0.8584 MB / 0.5004 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.015e-05/0.1741, allocations: 35.44 kB / 0.5004 GB, free: 14.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1741, allocations: 0 / 0.5004 GB, free: 14.71 MB / 398.1 MB Notification: Performance of Templates: time 0.01034/0.1844, allocations: 5.97 MB / 0.5062 GB, free: 8.727 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)