Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001235/0.001235, allocations: 194.4 kB / 16.26 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 284.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9573/0.9573, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 93.31 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1754, allocations: 86.99 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004701/0.1801, allocations: 2.649 MB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002428/0.1826, allocations: 1.472 MB / 0.6837 GB, free: 12.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.1828, allocations: 7.938 kB / 0.6837 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008999/0.1837, allocations: 211.3 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004905/0.1843, allocations: 171.4 kB / 0.684 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003973/0.1847, allocations: 143.7 kB / 0.6842 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.185, allocations: 227.3 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.1854, allocations: 198.7 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.1856, allocations: 95.67 kB / 0.6847 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000245/0.1858, allocations: 123.6 kB / 0.6848 GB, free: 11.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1859, allocations: 16 kB / 0.6848 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.1862, allocations: 231.5 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.312e-05/0.1863, allocations: 67.81 kB / 0.6851 GB, free: 11.44 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.1864, allocations: 91.53 kB / 0.6852 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003634/0.1868, allocations: 335 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1868, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1868, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1868, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB 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.0006428/0.1875, allocations: 495 kB / 0.686 GB, free: 10.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1875, allocations: 16.03 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/0.1881, allocations: 72.66 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1883, allocations: 238.9 kB / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1884, allocations: 12.69 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1884, allocations: 20.38 kB / 0.6863 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.1889, allocations: 321 kB / 0.6866 GB, free: 9.754 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.1889, allocations: 3.906 kB / 0.6866 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.1889, allocations: 11.98 kB / 0.6866 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.189, allocations: 24.27 kB / 0.6867 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003847/0.1894, allocations: 252.6 kB / 0.6869 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.1909, allocations: 1.622 MB / 0.6885 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006394/0.1916, allocations: 415.1 kB / 0.6889 GB, free: 7.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.1918, allocations: 93.61 kB / 0.689 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001392/0.1919, allocations: 89.08 kB / 0.689 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.192, allocations: 38.56 kB / 0.6891 GB, free: 6.984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.192, allocations: 0 / 0.6891 GB, free: 6.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006166/0.1926, allocations: 304.7 kB / 0.6894 GB, free: 6.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1926, allocations: 85.42 kB / 0.6895 GB, free: 6.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.1928, allocations: 169 kB / 0.6896 GB, free: 6.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1928, allocations: 29.64 kB / 0.6896 GB, free: 6.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.1929, allocations: 155.7 kB / 0.6898 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.193, allocations: 51.34 kB / 0.6898 GB, free: 6.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.1931, allocations: 41.7 kB / 0.6899 GB, free: 6.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1932, allocations: 330.8 kB / 0.6902 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1933, allocations: 84.81 kB / 0.6903 GB, free: 5.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1935, allocations: 147.4 kB / 0.6904 GB, free: 5.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.1938, allocations: 249.2 kB / 0.6907 GB, free: 5.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1938, allocations: 0 / 0.6907 GB, free: 5.246 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003852/0.1942, allocations: 269.2 kB / 0.6909 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1942, allocations: 4 kB / 0.6909 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1942, allocations: 4 kB / 0.6909 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1942, allocations: 7.938 kB / 0.6909 GB, free: 4.961 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.1945, allocations: 56.2 kB / 0.691 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.1945, allocations: 8 kB / 0.691 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.1946, allocations: 19.92 kB / 0.691 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1947, allocations: 8 kB / 0.691 GB, free: 4.871 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001704/0.1948, allocations: 180.1 kB / 0.6912 GB, free: 4.691 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001442/0.195, allocations: 154.1 kB / 0.6913 GB, free: 4.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002531/0.1952, allocations: 233.2 kB / 0.6916 GB, free: 4.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.1953, allocations: 3.938 kB / 0.6916 GB, free: 4.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003388/0.1956, allocations: 253.2 kB / 0.6918 GB, free: 3.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.1956, allocations: 8 kB / 0.6918 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1956, allocations: 4 kB / 0.6918 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/0.1956, allocations: 4 kB / 0.6918 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.1958, allocations: 51.84 kB / 0.6919 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1958, allocations: 7.938 kB / 0.6919 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.196, allocations: 15.98 kB / 0.6919 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.196, allocations: 8 kB / 0.6919 GB, free: 3.891 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.1961, allocations: 204.4 kB / 0.6921 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.325e-05/0.1961, allocations: 11.81 kB / 0.6921 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/0.1965, allocations: 203.7 kB / 0.6923 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1965, allocations: 4 kB / 0.6923 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1965, allocations: 7.984 kB / 0.6923 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1965, allocations: 0 / 0.6923 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.1977, allocations: 0.9651 MB / 0.6933 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.1977, allocations: 4 kB / 0.6933 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1978, allocations: 35.91 kB / 0.6933 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1978, allocations: 4 kB / 0.6933 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1979, allocations: 8 kB / 0.6933 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.1979, allocations: 8.094 kB / 0.6933 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1979, allocations: 8.375 kB / 0.6933 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.1982, allocations: 440.8 kB / 0.6937 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.402e-05/0.1983, allocations: 116.8 kB / 0.6938 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.1984, allocations: 4 kB / 0.6939 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.1986, allocations: 15.98 kB / 0.6939 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.1986, allocations: 23.86 kB / 0.6939 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1986, allocations: 8 kB / 0.6939 GB, free: 1.641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1987, allocations: 133 kB / 0.694 GB, free: 1.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1987, allocations: 0 / 0.694 GB, free: 1.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.1992, allocations: 72 kB / 0.6941 GB, free: 1.441 MB / 494.1 MB 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 (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.0001285/0.1994, allocations: 115.2 kB / 0.6942 GB, free: 1.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.1998, allocations: 307.5 kB / 0.6945 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1998, allocations: 1.312 kB / 0.6945 GB, free: 1.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.2, allocations: 84.27 kB / 0.6946 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.2004, allocations: 43.59 kB / 0.6946 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000762/0.2012, allocations: 0.5343 MB / 0.6951 GB, free: 308 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.2015, allocations: 0.7519 MB / 0.6959 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002054/0.2018, allocations: 81.44 kB / 0.696 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.2018, allocations: 15.44 kB / 0.696 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2018, allocations: 4 kB / 0.696 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.004288/0.2061, allocations: 1.789 MB / 0.6977 GB, free: 13.67 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)