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.001085/0.001085, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001194/0.001194, allocations: 192.4 kB / 16.13 MB, free: 6.668 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.312/1.312, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001999/0.001999, allocations: 278.7 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9396/0.9396, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 96.03 kB / 0.5945 GB, free: 28.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 86.98 MB / 0.6795 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004157/0.1674, allocations: 2.645 MB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.1696, allocations: 1.504 MB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.886e-05/0.1697, allocations: 0 / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006978/0.1704, allocations: 208.2 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.1708, allocations: 172.6 kB / 0.6839 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.1711, allocations: 140.9 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.1714, allocations: 340 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.1718, allocations: 182.1 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.1719, allocations: 91.64 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.1721, allocations: 115.6 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.1722, allocations: 12 kB / 0.6847 GB, free: 11.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.1726, allocations: 267.5 kB / 0.685 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.1727, allocations: 71.8 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.1e-05/0.1728, allocations: 87.47 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.1732, allocations: 331 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1732, allocations: 0 / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1732, allocations: 0 / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1732, allocations: 4 kB / 0.6854 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.0007425/0.1739, allocations: 499.1 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.174, allocations: 12.03 kB / 0.6859 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.1746, allocations: 72.66 kB / 0.686 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1748, allocations: 232 kB / 0.6862 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.1749, allocations: 12.69 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.1749, allocations: 20.28 kB / 0.6862 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.1754, allocations: 329 kB / 0.6866 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1754, allocations: 0 / 0.6866 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.1754, allocations: 8 kB / 0.6866 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.1755, allocations: 20.27 kB / 0.6866 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003789/0.1759, allocations: 256.6 kB / 0.6868 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.1774, allocations: 1.626 MB / 0.6884 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.178, allocations: 411.1 kB / 0.6888 GB, free: 7.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1781, allocations: 93.66 kB / 0.6889 GB, free: 7.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.1783, allocations: 85.09 kB / 0.689 GB, free: 7.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1783, allocations: 38.56 kB / 0.689 GB, free: 6.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 2.655e-06/0.1783, allocations: 0 / 0.689 GB, free: 6.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006345/0.179, allocations: 312.4 kB / 0.6893 GB, free: 6.676 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.179, allocations: 77.33 kB / 0.6894 GB, free: 6.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1792, allocations: 172.9 kB / 0.6896 GB, free: 6.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1792, allocations: 29.7 kB / 0.6896 GB, free: 6.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.1793, allocations: 155.7 kB / 0.6897 GB, free: 6.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1794, allocations: 43.36 kB / 0.6898 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.421e-05/0.1794, allocations: 49.89 kB / 0.6898 GB, free: 6.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1796, allocations: 322.8 kB / 0.6901 GB, free: 5.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1797, allocations: 84.8 kB / 0.6902 GB, free: 5.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.1799, allocations: 155.3 kB / 0.6904 GB, free: 5.523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.1802, allocations: 244.1 kB / 0.6906 GB, free: 5.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1802, allocations: 0 / 0.6906 GB, free: 5.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00038/0.1806, allocations: 277.4 kB / 0.6909 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1806, allocations: 8.062 kB / 0.6909 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1806, allocations: 4 kB / 0.6909 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1806, allocations: 7.938 kB / 0.6909 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1809, allocations: 55.91 kB / 0.6909 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1809, allocations: 4.344 kB / 0.6909 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.181, allocations: 23.91 kB / 0.691 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1811, allocations: 15.92 kB / 0.691 GB, free: 4.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001668/0.1812, allocations: 176.1 kB / 0.6911 GB, free: 4.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001369/0.1814, allocations: 145.3 kB / 0.6913 GB, free: 4.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002648/0.1816, allocations: 238 kB / 0.6915 GB, free: 4.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.1817, allocations: 4 kB / 0.6915 GB, free: 4.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003357/0.182, allocations: 252.2 kB / 0.6918 GB, free: 3.984 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.182, allocations: 8 kB / 0.6918 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.182, allocations: 4 kB / 0.6918 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.182, allocations: 4 kB / 0.6918 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1822, allocations: 52.19 kB / 0.6918 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1822, allocations: 11.98 kB / 0.6918 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.1823, allocations: 12 kB / 0.6918 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.1824, allocations: 15.98 kB / 0.6919 GB, free: 3.879 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 9.817e-05/0.1825, allocations: 196.1 kB / 0.692 GB, free: 3.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.1825, allocations: 11.81 kB / 0.6921 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/0.1829, allocations: 207.7 kB / 0.6922 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1829, allocations: 4 kB / 0.6923 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1829, allocations: 0 / 0.6923 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1829, allocations: 0 / 0.6923 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1841, allocations: 0.9612 MB / 0.6932 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.1841, allocations: 4 kB / 0.6932 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.1842, allocations: 39.91 kB / 0.6932 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1842, allocations: 8.375 kB / 0.6932 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1842, allocations: 8 kB / 0.6932 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1843, allocations: 4 kB / 0.6933 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1843, allocations: 11.88 kB / 0.6933 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.1846, allocations: 436.8 kB / 0.6937 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1847, allocations: 108.8 kB / 0.6938 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.1847, allocations: 8 kB / 0.6938 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1849, allocations: 15.97 kB / 0.6938 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.185, allocations: 15.94 kB / 0.6938 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.185, allocations: 11.98 kB / 0.6938 GB, free: 1.648 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.793e-05/0.1851, allocations: 132.9 kB / 0.694 GB, free: 1.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1851, allocations: 4 kB / 0.694 GB, free: 1.516 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004997/0.1856, allocations: 72 kB / 0.694 GB, free: 1.445 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.0001312/0.1857, allocations: 111.2 kB / 0.6941 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.1862, allocations: 300.7 kB / 0.6944 GB, free: 1.035 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1862, allocations: 4 kB / 0.6944 GB, free: 1.031 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1863, allocations: 83.77 kB / 0.6945 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.1868, allocations: 35.86 kB / 0.6945 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.1875, allocations: 0.5561 MB / 0.6951 GB, free: 304 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.1879, allocations: 0.7441 MB / 0.6958 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002096/0.1881, allocations: 81.5 kB / 0.6959 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.1881, allocations: 15.44 kB / 0.6959 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1881, allocations: 0 / 0.6959 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.004074/0.1922, allocations: 1.738 MB / 0.6976 GB, free: 13.73 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)