Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.825/2.825, allocations: 287.9 MB / 302.9 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001409/0.001409, allocations: 175 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.4 MB / 0.6301 GB, free: 10.28 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001035, allocations: 98.83 kB / 0.7434 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.00046, allocations: 15.39 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 115.3 MB / 0.9787 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003525/0.1613, allocations: 2.708 MB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.1634, allocations: 1.268 MB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1636, allocations: 7.938 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.1638, allocations: 35.77 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.1641, allocations: 111.6 kB / 0.9828 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1645, allocations: 112.5 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1648, allocations: 187.6 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003013/0.1651, allocations: 219.3 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.1653, allocations: 95.67 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002057/0.1655, allocations: 99.59 kB / 0.9835 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.1655, allocations: 12 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.1658, allocations: 75.89 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.503e-05/0.1659, allocations: 67.81 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.653e-05/0.1659, allocations: 65.58 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1662, allocations: 263.6 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.733e-06/0.1663, allocations: 0 / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.599e-06/0.1663, allocations: 3.984 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.1663, allocations: 0 / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007411/0.1671, allocations: 0.4989 MB / 0.9844 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1671, allocations: 16.02 kB / 0.9844 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007332/0.1678, allocations: 95.5 kB / 0.9845 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1682, allocations: 239.8 kB / 0.9847 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1682, allocations: 16.38 kB / 0.9848 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.1682, allocations: 20 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.1688, allocations: 312.3 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1688, allocations: 3.938 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.1689, allocations: 7.938 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.1689, allocations: 28.38 kB / 0.9851 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.1694, allocations: 213.6 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.171, allocations: 1.502 MB / 0.9868 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.1715, allocations: 207.7 kB / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1715, allocations: 0 / 0.987 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.1715, allocations: 34.5 kB / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.136e-06/0.1716, allocations: 0 / 0.987 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006334/0.1722, allocations: 271.3 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.1722, allocations: 51.41 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1724, allocations: 212.3 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1725, allocations: 25.7 kB / 0.9876 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.197e-05/0.1726, allocations: 175.7 kB / 0.9877 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.1726, allocations: 35.69 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-06/0.1726, allocations: 4 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.1727, allocations: 326.8 kB / 0.9881 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1728, allocations: 47.97 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.173, allocations: 105.1 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1732, allocations: 67.91 kB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.319e-06/0.1732, allocations: 0 / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004616/0.1737, allocations: 218 kB / 0.9885 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1737, allocations: 8 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-06/0.1737, allocations: 4 kB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.1739, allocations: 29.12 kB / 0.9885 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1741, allocations: 31.92 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009463/0.175, allocations: 1.331 MB / 0.9899 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.1753, allocations: 23.75 kB / 0.9899 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1753, allocations: 8 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1755, allocations: 156 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.1755, allocations: 19.75 kB / 0.9901 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.1756, allocations: 17.47 kB / 0.9901 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.65e-06/0.1756, allocations: 8.188 kB / 0.9901 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.314e-06/0.1756, allocations: 7.922 kB / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.808e-06/0.1756, allocations: 3.984 kB / 0.9901 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006942/0.1763, allocations: 483.3 kB / 0.9906 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-06/0.1764, allocations: 0 / 0.9906 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.754e-05/0.1765, allocations: 11.94 kB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001169/0.1766, allocations: 32.83 kB / 0.9906 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1766, allocations: 0 / 0.9906 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008567/0.1775, allocations: 1.334 MB / 0.9919 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1775, allocations: 0 / 0.9919 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.1778, allocations: 236.2 kB / 0.9921 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.486e-05/0.1779, allocations: 97.12 kB / 0.9922 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.178, allocations: 11.95 kB / 0.9922 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.1782, allocations: 11.98 kB / 0.9922 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.1782, allocations: 4 kB / 0.9922 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.1782, allocations: 0 / 0.9922 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001353/0.1784, allocations: 152.1 kB / 0.9924 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.17e-07/0.1784, allocations: 0 / 0.9924 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000451/0.1789, allocations: 59.75 kB / 0.9924 GB, free: 13.26 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.897e-05/0.179, allocations: 103.2 kB / 0.9925 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000491/0.1795, allocations: 230.5 kB / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1795, allocations: 0.5625 kB / 0.9928 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/0.1797, allocations: 162.7 kB / 0.9929 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.1801, allocations: 32.69 kB / 0.9929 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.1808, allocations: 471.5 kB / 0.9934 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.181, allocations: 0.7593 MB / 0.9941 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.1812, allocations: 37.45 kB / 0.9942 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1812, allocations: 19.38 kB / 0.9942 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of SimCode: time 1.4e-06/0.1812, allocations: 0 / 0.9942 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.005649/0.1869, allocations: 1.779 MB / 0.9959 GB, free: 9.629 MB / 0.6198 GB