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.001373/0.001373, allocations: 103 kB / 17.74 MB, free: 5.324 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.00145/0.00145, allocations: 192.3 kB / 18.67 MB, free: 4.395 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.504/1.504, allocations: 205.1 MB / 224.5 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.1988/0.1988, allocations: 37.99 MB / 309.9 MB, free: 5.941 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.002482/0.002483, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.13, allocations: 55.25 MB / 487.8 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008757/0.1388, allocations: 6.096 MB / 493.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.1428, allocations: 1.987 MB / 495.9 MB, free: 224 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.1435, allocations: 23.88 kB / 495.9 MB, free: 200 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002095/0.1456, allocations: 0.6808 MB / 496.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.1468, allocations: 386.1 kB / 496.9 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1482, allocations: 399.1 kB / 497.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.1497, allocations: 0.9355 MB / 498.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009055/0.1507, allocations: 0.5039 MB / 498.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009051/0.1516, allocations: 434.3 kB / 499.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.1526, allocations: 0.5296 MB / 499.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.1528, allocations: 63.88 kB / 499.8 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006276/0.1534, allocations: 239.6 kB / 0.4883 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004946/0.1539, allocations: 407.1 kB / 0.4887 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007232/0.1547, allocations: 426 kB / 0.4891 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.1561, allocations: 1.016 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1561, allocations: 0 / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1561, allocations: 0 / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.904e-05/0.1561, allocations: 0 / 0.4901 GB, free: 10.21 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.002472/0.1586, allocations: 1.072 MB / 0.4911 GB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1587, allocations: 11.89 kB / 0.4911 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/0.1595, allocations: 143.8 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009699/0.1605, allocations: 0.5479 MB / 0.4918 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.1606, allocations: 54.38 kB / 0.4919 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.1607, allocations: 84.09 kB / 0.4919 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.1625, allocations: 1.122 MB / 0.493 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.1625, allocations: 15.92 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/0.1626, allocations: 35.98 kB / 0.4931 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-05/0.1627, allocations: 53.92 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.1641, allocations: 0.8584 MB / 0.494 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005845/0.1699, allocations: 5.043 MB / 0.4989 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.1707, allocations: 416.9 kB / 0.4993 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.171, allocations: 209.7 kB / 0.4995 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.272e-05/0.171, allocations: 15.97 kB / 0.4995 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.1711, allocations: 46.5 kB / 0.4996 GB, free: 40 kB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.437e-06/0.1711, allocations: 0 / 0.4996 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.001949/0.1731, allocations: 1.067 MB / 0.5006 GB, free: 14.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.1731, allocations: 85.11 kB / 0.5007 GB, free: 14.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.1737, allocations: 0.49 MB / 0.5012 GB, free: 14.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.1738, allocations: 33.7 kB / 0.5012 GB, free: 14.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.1741, allocations: 453.9 kB / 0.5016 GB, free: 13.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.1743, allocations: 161.7 kB / 0.5018 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/0.1745, allocations: 150.5 kB / 0.5019 GB, free: 13.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.1747, allocations: 366.7 kB / 0.5023 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003708/0.1751, allocations: 241.8 kB / 0.5025 GB, free: 12.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/0.1758, allocations: 0.6209 MB / 0.5031 GB, free: 12.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.177, allocations: 0.9454 MB / 0.504 GB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.177, allocations: 4 kB / 0.504 GB, free: 11.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001414/0.1784, allocations: 0.8917 MB / 0.5049 GB, free: 10.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.1784, allocations: 12 kB / 0.5049 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/0.1785, allocations: 12 kB / 0.5049 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.1785, allocations: 20 kB / 0.505 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/0.1792, allocations: 220.3 kB / 0.5052 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.854e-05/0.1793, allocations: 31.86 kB / 0.5052 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.1797, allocations: 47.95 kB / 0.5052 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.1798, allocations: 47.98 kB / 0.5053 GB, free: 9.73 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.0003909/0.1802, allocations: 305.3 kB / 0.5056 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/0.1803, allocations: 59.23 kB / 0.5056 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009224/0.1813, allocations: 0.5603 MB / 0.5062 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.1813, allocations: 4 kB / 0.5062 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1813, allocations: 0 / 0.5062 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1813, allocations: 3.984 kB / 0.5062 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.1834, allocations: 1.335 MB / 0.5075 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.1834, allocations: 4 kB / 0.5075 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.1838, allocations: 115.8 kB / 0.5076 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.1839, allocations: 7.938 kB / 0.5076 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.1839, allocations: 12 kB / 0.5076 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.1839, allocations: 4 kB / 0.5076 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.491e-05/0.1839, allocations: 8.234 kB / 0.5076 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.1848, allocations: 0.6458 MB / 0.5083 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.1849, allocations: 132.3 kB / 0.5084 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.211e-05/0.185, allocations: 23.88 kB / 0.5084 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.1853, allocations: 15.98 kB / 0.5084 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.1853, allocations: 35.89 kB / 0.5085 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1854, allocations: 16 kB / 0.5085 GB, free: 6.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003424/0.1857, allocations: 334.8 kB / 0.5088 GB, free: 5.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1857, allocations: 0 / 0.5088 GB, free: 5.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007355/0.1865, allocations: 160 kB / 0.5089 GB, free: 5.812 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.0001331/0.1866, allocations: 111.5 kB / 0.5091 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009349/0.1876, allocations: 0.6102 MB / 0.5097 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1876, allocations: 0 / 0.5097 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.1879, allocations: 244.6 kB / 0.5099 GB, free: 4.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006884/0.1886, allocations: 113.7 kB / 0.51 GB, free: 4.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.191, allocations: 1.414 MB / 0.5114 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.1918, allocations: 1.011 MB / 0.5124 GB, free: 2.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.1919, allocations: 55.42 kB / 0.5124 GB, free: 2.172 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.192, allocations: 4 kB / 0.5124 GB, free: 2.168 MB / 398.1 MB Notification: Performance of Templates: time 0.01426/0.2062, allocations: 8.265 MB / 0.5205 GB, free: 9.879 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)