Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001499, allocations: 109 kB / 17.06 MB, free: 6.02 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.001609/0.001609, allocations: 199.9 kB / 18 MB, free: 5.098 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.686/1.686, allocations: 205.1 MB / 223.9 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.1862/0.1862, allocations: 37.99 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.001351/0.001351, allocations: 67.89 kB / 431.9 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1339, allocations: 55.24 MB / 487.1 MB, free: 8.363 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007317/0.1413, allocations: 4.705 MB / 491.8 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1438, allocations: 1.391 MB / 493.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.144, allocations: 11.94 kB / 493.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.1453, allocations: 418.2 kB / 493.6 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005542/0.1458, allocations: 230.8 kB / 493.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.1463, allocations: 179.6 kB / 494 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.147, allocations: 0.549 MB / 494.6 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.1475, allocations: 349.8 kB / 494.9 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.1478, allocations: 259 kB / 495.2 MB, free: 268 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004179/0.1483, allocations: 275 kB / 495.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.422e-05/0.1483, allocations: 32 kB / 495.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002881/0.1486, allocations: 131.7 kB / 495.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1488, allocations: 183.5 kB / 495.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002282/0.1491, allocations: 222.9 kB / 496 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.1496, allocations: 0.5334 MB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1496, allocations: 0 / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1497, allocations: 4 kB / 496.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1497, allocations: 0 / 496.5 MB, free: 14.89 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001131/0.1508, allocations: 0.7106 MB / 497.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1509, allocations: 15.89 kB / 497.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007179/0.1516, allocations: 84.31 kB / 497.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007196/0.1523, allocations: 424 kB / 497.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.1523, allocations: 29.36 kB / 497.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.1525, allocations: 44.12 kB / 497.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.1532, allocations: 480.8 kB / 498.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1532, allocations: 4 kB / 498.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.1533, allocations: 12 kB / 498.3 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001058/0.1534, allocations: 28.98 kB / 498.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005203/0.1539, allocations: 339.7 kB / 498.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.1561, allocations: 1.621 MB / 0.4886 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.1565, allocations: 177.1 kB / 0.4887 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1566, allocations: 113.7 kB / 0.4888 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1567, allocations: 0 / 0.4888 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1567, allocations: 46.48 kB / 0.4889 GB, free: 10.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/0.1567, allocations: 7.984 kB / 0.4889 GB, free: 10.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00132/0.158, allocations: 0.7846 MB / 0.4897 GB, free: 9.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.1582, allocations: 81.05 kB / 0.4897 GB, free: 9.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.1585, allocations: 304.5 kB / 0.49 GB, free: 9.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1585, allocations: 29.7 kB / 0.4901 GB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.1587, allocations: 255.5 kB / 0.4903 GB, free: 9.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.1588, allocations: 75.12 kB / 0.4904 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/0.1589, allocations: 61.61 kB / 0.4904 GB, free: 8.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.159, allocations: 346.8 kB / 0.4908 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.1592, allocations: 95.69 kB / 0.4909 GB, free: 8.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.1594, allocations: 196.8 kB / 0.491 GB, free: 8.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.1598, allocations: 328.5 kB / 0.4914 GB, free: 7.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1598, allocations: 0 / 0.4914 GB, free: 7.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007669/0.1606, allocations: 437.6 kB / 0.4918 GB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1606, allocations: 4 kB / 0.4918 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004735/0.1611, allocations: 260.4 kB / 0.492 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003295/0.1614, allocations: 76.78 kB / 0.4921 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1617, allocations: 63.91 kB / 0.4922 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.1634, allocations: 1.723 MB / 0.4938 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.1636, allocations: 16 kB / 0.4939 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1636, allocations: 16 kB / 0.4939 GB, free: 5.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.1638, allocations: 185.7 kB / 0.494 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.1639, allocations: 31.62 kB / 0.4941 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.1644, allocations: 268.6 kB / 0.4943 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1644, allocations: 144 / 0.4943 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1644, allocations: 7.938 kB / 0.4943 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.1644, allocations: 11.97 kB / 0.4944 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.1656, allocations: 0.7497 MB / 0.4951 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1656, allocations: 0 / 0.4951 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.1659, allocations: 51.97 kB / 0.4951 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1659, allocations: 4 kB / 0.4951 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.1659, allocations: 7.938 kB / 0.4951 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1659, allocations: 4.062 kB / 0.4951 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.166, allocations: 3.938 kB / 0.4952 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.1665, allocations: 453.3 kB / 0.4956 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.1666, allocations: 104.7 kB / 0.4957 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.1666, allocations: 23.91 kB / 0.4957 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1668, allocations: 4 kB / 0.4957 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.1669, allocations: 15.98 kB / 0.4957 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1669, allocations: 4 kB / 0.4957 GB, free: 3.055 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002189/0.1671, allocations: 219 kB / 0.4959 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.1671, allocations: 0 / 0.4959 GB, free: 2.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000384/0.1675, allocations: 87.94 kB / 0.496 GB, free: 2.758 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (23): * Single equations (assignments): 22 * 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.0001396/0.1676, allocations: 107.2 kB / 0.4961 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006638/0.1683, allocations: 370.7 kB / 0.4965 GB, free: 2.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.1683, allocations: 4 kB / 0.4965 GB, free: 2.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.1685, allocations: 100.8 kB / 0.4966 GB, free: 2.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004755/0.169, allocations: 73.39 kB / 0.4966 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.1704, allocations: 0.8977 MB / 0.4975 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.1708, allocations: 0.8499 MB / 0.4984 GB, free: 292 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.171, allocations: 74.91 kB / 0.4984 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.1711, allocations: 31.42 kB / 0.4985 GB, free: 188 kB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1711, allocations: 4 kB / 0.4985 GB, free: 184 kB / 382.1 MB Notification: Performance of Templates: time 0.00892/0.18, allocations: 3.632 MB / 0.502 GB, free: 12.54 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)