Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.596/2.596, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.002806/0.002806, allocations: 169.2 kB / 371.4 MB, free: 10.66 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.139/2.139, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001032/0.001032, allocations: 82.38 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007678/0.0007681, allocations: 11.84 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1641, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002597/0.1667, allocations: 2.045 MB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002189/0.169, allocations: 1.334 MB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1691, allocations: 0 / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.1693, allocations: 23.84 kB / 0.9821 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1696, allocations: 87.66 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.1701, allocations: 147.6 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.1704, allocations: 123.7 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004972/0.1709, allocations: 226 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.171, allocations: 63.77 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1712, allocations: 63.75 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1713, allocations: 4 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.1715, allocations: 111.8 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.244e-05/0.1716, allocations: 55.83 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.1717, allocations: 53.58 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1719, allocations: 203.8 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.616e-06/0.172, allocations: 0 / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.968e-06/0.172, allocations: 0 / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.11e-06/0.172, allocations: 3.938 kB / 0.9832 GB, free: 23.6 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005572/0.1726, allocations: 443 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1726, allocations: 12.03 kB / 0.9836 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006562/0.1733, allocations: 71.69 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.1735, allocations: 220.6 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.1736, allocations: 12.27 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.1736, allocations: 12 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.1741, allocations: 279.7 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1741, allocations: 0 / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.1741, allocations: 7.984 kB / 0.9842 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.254e-05/0.1742, allocations: 20.17 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000418/0.1746, allocations: 216.4 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.1764, allocations: 1.572 MB / 0.9859 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.1768, allocations: 319.2 kB / 0.9863 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1768, allocations: 16.09 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.1769, allocations: 42.67 kB / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 3.18e-06/0.1769, allocations: 0 / 0.9863 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0006325/0.1775, allocations: 237 kB / 0.9865 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.1776, allocations: 81.11 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1778, allocations: 199.3 kB / 0.9868 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1778, allocations: 25.7 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.107e-05/0.1779, allocations: 155.9 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1779, allocations: 43.47 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.178, allocations: 4 kB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.178, allocations: 322.8 kB / 0.9873 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1782, allocations: 63.95 kB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.1784, allocations: 159.8 kB / 0.9875 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.1786, allocations: 91.84 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.062e-06/0.1786, allocations: 4 kB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004758/0.1791, allocations: 261 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/0.1793, allocations: 1.138 MB / 0.989 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.424e-06/0.1793, allocations: 4 kB / 0.989 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1794, allocations: 4 kB / 0.989 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.1797, allocations: 51.91 kB / 0.989 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1797, allocations: 8.078 kB / 0.9891 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.1799, allocations: 11.98 kB / 0.9891 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.1799, allocations: 23.92 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/0.18, allocations: 4 kB / 0.9891 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003566/0.1803, allocations: 191.5 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-06/0.1803, allocations: 4.375 kB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.813e-06/0.1804, allocations: 11.95 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1806, allocations: 51.91 kB / 0.9893 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1806, allocations: 4 kB / 0.9893 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.1808, allocations: 19.89 kB / 0.9894 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.1808, allocations: 8 kB / 0.9894 GB, free: 16.74 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.1809, allocations: 217 kB / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.181, allocations: 7.906 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002778/0.1813, allocations: 150.9 kB / 0.9897 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.217e-06/0.1813, allocations: 11.95 kB / 0.9897 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.214e-06/0.1814, allocations: 0 / 0.9897 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-06/0.1814, allocations: 0 / 0.9897 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.1825, allocations: 0.7196 MB / 0.9904 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.403e-06/0.1825, allocations: 0 / 0.9904 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1826, allocations: 23.98 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.359e-06/0.1827, allocations: 7.938 kB / 0.9905 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.1827, allocations: 11.98 kB / 0.9905 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.736e-06/0.1827, allocations: 4 kB / 0.9905 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.721e-06/0.1827, allocations: 0 / 0.9905 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.1831, allocations: 495.6 kB / 0.991 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.1832, allocations: 112.8 kB / 0.9911 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1832, allocations: 8 kB / 0.9911 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1834, allocations: 11.98 kB / 0.9911 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.1835, allocations: 11.94 kB / 0.9911 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1835, allocations: 8 kB / 0.9911 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001382/0.1837, allocations: 156.8 kB / 0.9913 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.76e-07/0.1837, allocations: 0 / 0.9913 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006732/0.1844, allocations: 68 kB / 0.9913 GB, free: 14.52 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000127/0.1845, allocations: 103.2 kB / 0.9914 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004905/0.185, allocations: 268.1 kB / 0.9917 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.679e-06/0.185, allocations: 0 / 0.9917 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1851, allocations: 59.89 kB / 0.9917 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.1856, allocations: 31.31 kB / 0.9918 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007879/0.1864, allocations: 0.4946 MB / 0.9922 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.1866, allocations: 0.7441 MB / 0.993 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.1869, allocations: 73.5 kB / 0.993 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.141e-05/0.1869, allocations: 19.42 kB / 0.9931 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of SimCode: time 1.593e-06/0.1869, allocations: 0 / 0.9931 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of Templates: time 0.00513/0.1921, allocations: 1.618 MB / 0.9946 GB, free: 11.04 MB / 0.6198 GB