Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.652/2.652, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.001465/0.001464, allocations: 177.1 kB / 371.4 MB, free: 10.69 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.056/2.056, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001036, allocations: 105.8 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.000469, allocations: 14.31 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1665, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00487/0.1714, allocations: 2.228 MB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004174/0.1757, allocations: 1.393 MB / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001987/0.1759, allocations: 0 / 0.9823 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.1762, allocations: 35.77 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007595/0.1769, allocations: 115.6 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007603/0.1777, allocations: 122 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003254/0.1781, allocations: 127.8 kB / 0.9827 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009697/0.1791, allocations: 298.5 kB / 0.983 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.1793, allocations: 67.75 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.1796, allocations: 75.72 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.1797, allocations: 8 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005082/0.1802, allocations: 119.8 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.1804, allocations: 63.77 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.98e-05/0.1805, allocations: 49.64 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.181, allocations: 243.7 kB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.781e-06/0.181, allocations: 0 / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.333e-06/0.181, allocations: 0 / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.461e-06/0.1811, allocations: 0 / 0.9836 GB, free: 23.23 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008979/0.182, allocations: 453.2 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1821, allocations: 16 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.1835, allocations: 95.58 kB / 0.9841 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.1839, allocations: 230.7 kB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.184, allocations: 12.33 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.184, allocations: 16 kB / 0.9843 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008815/0.185, allocations: 324 kB / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.185, allocations: 0 / 0.9847 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.1851, allocations: 8 kB / 0.9847 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.579e-05/0.1852, allocations: 24.27 kB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008228/0.186, allocations: 252.5 kB / 0.9849 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002789/0.1888, allocations: 1.63 MB / 0.9865 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.1901, allocations: 407.2 kB / 0.9869 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.1904, allocations: 97.03 kB / 0.987 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1904, allocations: 30.75 kB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 5.197e-06/0.1905, allocations: 0 / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001297/0.1918, allocations: 304.7 kB / 0.9873 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1918, allocations: 85.09 kB / 0.9874 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1921, allocations: 167.3 kB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1922, allocations: 37.89 kB / 0.9876 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1923, allocations: 151.7 kB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.929e-05/0.1924, allocations: 47.34 kB / 0.9878 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.1924, allocations: 4 kB / 0.9878 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.132e-05/0.1925, allocations: 326.8 kB / 0.9881 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.1928, allocations: 75.94 kB / 0.9882 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.1932, allocations: 158 kB / 0.9883 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.1935, allocations: 91.97 kB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.1935, allocations: 7.953 kB / 0.9884 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009027/0.1945, allocations: 265.2 kB / 0.9887 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.1948, allocations: 0.9633 MB / 0.9896 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.1948, allocations: 8 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.1948, allocations: 4 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005572/0.1954, allocations: 59.89 kB / 0.9897 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1955, allocations: 7.938 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.1957, allocations: 19.83 kB / 0.9897 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.1957, allocations: 12 kB / 0.9897 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.575e-06/0.1957, allocations: 4 kB / 0.9897 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003778/0.1961, allocations: 207.8 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.339e-06/0.1961, allocations: 4.047 kB / 0.9899 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.091e-06/0.1961, allocations: 11.97 kB / 0.9899 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.1964, allocations: 47.97 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1964, allocations: 11.94 kB / 0.99 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.1965, allocations: 15.94 kB / 0.99 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1966, allocations: 12 kB / 0.99 GB, free: 16.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001484/0.1967, allocations: 221.2 kB / 0.9902 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.1968, allocations: 19.81 kB / 0.9902 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.1972, allocations: 195.8 kB / 0.9904 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.1973, allocations: 7.938 kB / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.712e-06/0.1973, allocations: 0 / 0.9904 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.97e-06/0.1973, allocations: 7.938 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.1986, allocations: 0.9614 MB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.1986, allocations: 4 kB / 0.9914 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.1988, allocations: 31.97 kB / 0.9914 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.237e-06/0.1988, allocations: 8 kB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1989, allocations: 4 kB / 0.9914 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.687e-06/0.1989, allocations: 7.938 kB / 0.9914 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.48e-06/0.1989, allocations: 4 kB / 0.9914 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.1993, allocations: 0.5813 MB / 0.992 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.1994, allocations: 116.8 kB / 0.9921 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.1995, allocations: 8 kB / 0.9921 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.1998, allocations: 15.98 kB / 0.9921 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1998, allocations: 19.88 kB / 0.9922 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.1998, allocations: 8 kB / 0.9922 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001127/0.2, allocations: 135.7 kB / 0.9923 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.83e-07/0.2, allocations: 0 / 0.9923 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006832/0.2007, allocations: 76 kB / 0.9924 GB, free: 13.4 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * 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.0001356/0.2008, allocations: 115.2 kB / 0.9925 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005237/0.2014, allocations: 296.7 kB / 0.9928 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.582e-06/0.2014, allocations: 0 / 0.9928 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.2015, allocations: 84.2 kB / 0.9929 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.2019, allocations: 27.98 kB / 0.9929 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008614/0.2028, allocations: 0.5623 MB / 0.9934 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.203, allocations: 0.7558 MB / 0.9942 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000268/0.2033, allocations: 77.62 kB / 0.9942 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.877e-05/0.2034, allocations: 19.44 kB / 0.9943 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.657e-06/0.2034, allocations: 0 / 0.9943 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.005205/0.2086, allocations: 1.674 MB / 0.9959 GB, free: 9.727 MB / 0.6198 GB