Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001209, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.001108/0.001108, allocations: 199 kB / 18 MB, free: 5.199 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.472/1.472, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2027/0.2027, allocations: 37.99 MB / 309.2 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.001358/0.001358, allocations: 67.91 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 55.24 MB / 487.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00784/0.1338, allocations: 6.111 MB / 493.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.1372, allocations: 1.987 MB / 495.2 MB, free: 220 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.1376, allocations: 23.88 kB / 495.2 MB, free: 196 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.1393, allocations: 0.6776 MB / 495.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008983/0.1402, allocations: 386.1 kB / 496.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1413, allocations: 399.1 kB / 496.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009812/0.1423, allocations: 0.9394 MB / 497.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.143, allocations: 0.4999 MB / 498.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.1435, allocations: 446.3 kB / 498.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.1444, allocations: 0.5179 MB / 499 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.39e-05/0.1445, allocations: 63.98 kB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004444/0.1449, allocations: 231.6 kB / 499.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004417/0.1454, allocations: 419 kB / 499.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.1458, allocations: 429.9 kB / 0.4884 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009948/0.1468, allocations: 1.005 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1468, allocations: 0 / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1468, allocations: 4 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1468, allocations: 4 kB / 0.4894 GB, free: 10.2 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001995/0.1488, allocations: 1.068 MB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.1489, allocations: 15.89 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006824/0.1496, allocations: 139.8 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.1506, allocations: 0.5401 MB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.1506, allocations: 58.38 kB / 0.4912 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.1507, allocations: 84.06 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.1523, allocations: 1.13 MB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.1523, allocations: 7.938 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.1524, allocations: 32 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/0.1525, allocations: 49.98 kB / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.1538, allocations: 0.8662 MB / 0.4933 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005258/0.1591, allocations: 5.039 MB / 0.4982 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/0.1599, allocations: 420.9 kB / 0.4986 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/0.1602, allocations: 217.7 kB / 0.4989 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.002e-05/0.1602, allocations: 4 kB / 0.4989 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1603, allocations: 38.56 kB / 0.4989 GB, free: 60 kB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 5.14e-06/0.1603, allocations: 0 / 0.4989 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001776/0.1621, allocations: 1.078 MB / 0.4999 GB, free: 14.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.1621, allocations: 81.11 kB / 0.5 GB, free: 14.87 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005257/0.1627, allocations: 0.4979 MB / 0.5005 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.1627, allocations: 29.7 kB / 0.5005 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.163, allocations: 449.8 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1632, allocations: 161.7 kB / 0.5011 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.1634, allocations: 150.5 kB / 0.5013 GB, free: 13.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1636, allocations: 366.8 kB / 0.5016 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.1639, allocations: 237.9 kB / 0.5018 GB, free: 12.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006441/0.1646, allocations: 0.6287 MB / 0.5025 GB, free: 12.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.1657, allocations: 0.9454 MB / 0.5034 GB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1657, allocations: 4 kB / 0.5034 GB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001295/0.167, allocations: 0.8914 MB / 0.5043 GB, free: 10.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.1671, allocations: 12.97 kB / 0.5043 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.1671, allocations: 15.94 kB / 0.5043 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.1671, allocations: 24 kB / 0.5043 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.1678, allocations: 219.7 kB / 0.5045 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.5e-05/0.1678, allocations: 27.86 kB / 0.5045 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.1682, allocations: 51.95 kB / 0.5046 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.1683, allocations: 40 kB / 0.5046 GB, free: 9.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003753/0.1687, allocations: 305.3 kB / 0.5049 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.1688, allocations: 63.25 kB / 0.505 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009032/0.1697, allocations: 0.5563 MB / 0.5055 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1697, allocations: 4 kB / 0.5055 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.1697, allocations: 4 kB / 0.5055 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1697, allocations: 0 / 0.5055 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.1718, allocations: 1.339 MB / 0.5068 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.1718, allocations: 4 kB / 0.5068 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.1723, allocations: 107.8 kB / 0.5069 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.1723, allocations: 7.938 kB / 0.507 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.1723, allocations: 12.25 kB / 0.507 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1723, allocations: 11.98 kB / 0.507 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1723, allocations: 7.984 kB / 0.507 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.1732, allocations: 0.6418 MB / 0.5076 GB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1733, allocations: 132.4 kB / 0.5077 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.1734, allocations: 11.94 kB / 0.5077 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.1737, allocations: 23.97 kB / 0.5078 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.1738, allocations: 39.84 kB / 0.5078 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1738, allocations: 19.98 kB / 0.5078 GB, free: 6.297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003265/0.1741, allocations: 326.9 kB / 0.5081 GB, free: 5.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1741, allocations: 0 / 0.5081 GB, free: 5.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006362/0.1748, allocations: 160 kB / 0.5083 GB, free: 5.824 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001286/0.1749, allocations: 115.4 kB / 0.5084 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000952/0.1759, allocations: 0.607 MB / 0.509 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1759, allocations: 4.125 kB / 0.509 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.1763, allocations: 235.5 kB / 0.5092 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.177, allocations: 117.7 kB / 0.5093 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.1792, allocations: 1.354 MB / 0.5107 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/0.1799, allocations: 1.003 MB / 0.5116 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005465/0.1804, allocations: 221 kB / 0.5118 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.1805, allocations: 55.42 kB / 0.5119 GB, free: 2.039 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1806, allocations: 0 / 0.5119 GB, free: 2.039 MB / 398.1 MB Notification: Performance of Templates: time 0.01194/0.1925, allocations: 5.781 MB / 0.5175 GB, free: 12.25 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)