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.001128/0.001128, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001151/0.001151, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002002/0.002002, allocations: 290 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 102.3 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1691, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003842/0.173, allocations: 2.602 MB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.1751, allocations: 1.492 MB / 0.6856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.1752, allocations: 4 kB / 0.6856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.1759, allocations: 223.1 kB / 0.6858 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003743/0.1763, allocations: 199.2 kB / 0.686 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.1766, allocations: 151.6 kB / 0.6862 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.1769, allocations: 223.3 kB / 0.6864 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.1772, allocations: 179 kB / 0.6865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1773, allocations: 99.61 kB / 0.6866 GB, free: 2.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1776, allocations: 115.6 kB / 0.6867 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.447e-05/0.1776, allocations: 12 kB / 0.6868 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.1779, allocations: 219.6 kB / 0.687 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.178, allocations: 79.73 kB / 0.687 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.1781, allocations: 87.53 kB / 0.6871 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1784, allocations: 315.1 kB / 0.6874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1784, allocations: 4 kB / 0.6874 GB, free: 1.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1785, allocations: 0 / 0.6874 GB, free: 1.461 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1785, allocations: 0 / 0.6874 GB, free: 1.461 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.0006179/0.1791, allocations: 499 kB / 0.6879 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.1791, allocations: 8.031 kB / 0.6879 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005497/0.1797, allocations: 84.64 kB / 0.688 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.18, allocations: 228.1 kB / 0.6882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.18, allocations: 20.64 kB / 0.6882 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.104e-05/0.18, allocations: 16.36 kB / 0.6882 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004452/0.1805, allocations: 316.4 kB / 0.6885 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1805, allocations: 4 kB / 0.6886 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.1805, allocations: 11.98 kB / 0.6886 GB, free: 180 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.1806, allocations: 24.27 kB / 0.6886 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2971/0.4776, allocations: 247.9 kB / 0.6888 GB, free: 18.37 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.4795, allocations: 1.622 MB / 0.6904 GB, free: 17.09 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.4801, allocations: 410.3 kB / 0.6908 GB, free: 16.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.4803, allocations: 85.27 kB / 0.6909 GB, free: 16.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.4804, allocations: 95.83 kB / 0.691 GB, free: 16.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.4804, allocations: 35.98 kB / 0.691 GB, free: 16.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.4804, allocations: 0 / 0.691 GB, free: 16.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006452/0.4811, allocations: 306.5 kB / 0.6913 GB, free: 16.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.4811, allocations: 80.42 kB / 0.6914 GB, free: 16.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4813, allocations: 181.5 kB / 0.6915 GB, free: 16.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.4813, allocations: 30.42 kB / 0.6916 GB, free: 16.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.4814, allocations: 150.8 kB / 0.6917 GB, free: 16.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.4814, allocations: 46.77 kB / 0.6918 GB, free: 16.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.022e-05/0.4815, allocations: 44.7 kB / 0.6918 GB, free: 16.24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.4816, allocations: 325.3 kB / 0.6921 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4817, allocations: 83.25 kB / 0.6922 GB, free: 15.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4819, allocations: 153.5 kB / 0.6923 GB, free: 15.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.4822, allocations: 244.2 kB / 0.6926 GB, free: 15.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4822, allocations: 0.5312 kB / 0.6926 GB, free: 15.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004089/0.4826, allocations: 282.2 kB / 0.6928 GB, free: 15.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4826, allocations: 8.203 kB / 0.6929 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4826, allocations: 2.75 kB / 0.6929 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4827, allocations: 4.125 kB / 0.6929 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.4829, allocations: 55.12 kB / 0.6929 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4829, allocations: 8.328 kB / 0.6929 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.4831, allocations: 20.8 kB / 0.6929 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4831, allocations: 8 kB / 0.6929 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001628/0.4833, allocations: 177.6 kB / 0.6931 GB, free: 15.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001281/0.4834, allocations: 150.2 kB / 0.6933 GB, free: 15.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002339/0.4836, allocations: 231.9 kB / 0.6935 GB, free: 15.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.365e-06/0.4837, allocations: 1.094 kB / 0.6935 GB, free: 15.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003463/0.484, allocations: 253.2 kB / 0.6937 GB, free: 15.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.484, allocations: 7.438 kB / 0.6937 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.484, allocations: 3.141 kB / 0.6937 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.4841, allocations: 3.75 kB / 0.6937 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.4843, allocations: 58.83 kB / 0.6938 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4843, allocations: 9.062 kB / 0.6938 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.4844, allocations: 20.42 kB / 0.6938 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4844, allocations: 11.88 kB / 0.6938 GB, free: 15.03 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 6.681e-05/0.4845, allocations: 189.3 kB / 0.694 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.4846, allocations: 21.52 kB / 0.694 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.4849, allocations: 205.1 kB / 0.6942 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4849, allocations: 2.656 kB / 0.6942 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4849, allocations: 4.719 kB / 0.6942 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4849, allocations: 2.703 kB / 0.6942 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.486, allocations: 0.9614 MB / 0.6952 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4861, allocations: 2.969 kB / 0.6952 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.4862, allocations: 35.83 kB / 0.6952 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.4862, allocations: 4.422 kB / 0.6952 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4862, allocations: 4.5 kB / 0.6952 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.4862, allocations: 9.281 kB / 0.6952 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4862, allocations: 3 kB / 0.6952 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.4866, allocations: 448.7 kB / 0.6957 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.421e-05/0.4866, allocations: 116 kB / 0.6958 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.4867, allocations: 9.344 kB / 0.6958 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.4869, allocations: 12.53 kB / 0.6958 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4869, allocations: 25.98 kB / 0.6958 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.4869, allocations: 7.875 kB / 0.6958 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.386e-05/0.487, allocations: 132.7 kB / 0.696 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.487, allocations: 0 / 0.696 GB, free: 13.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00049/0.4875, allocations: 71.14 kB / 0.696 GB, free: 13.42 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.000118/0.4877, allocations: 114.5 kB / 0.6961 GB, free: 13.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004832/0.4881, allocations: 306.1 kB / 0.6964 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4882, allocations: 2.125 kB / 0.6964 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4883, allocations: 87.33 kB / 0.6965 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.4888, allocations: 37.03 kB / 0.6965 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.4895, allocations: 477 kB / 0.697 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.4897, allocations: 0.7491 MB / 0.6977 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.4899, allocations: 80.5 kB / 0.6978 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.49, allocations: 16.84 kB / 0.6978 GB, free: 12.14 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.49, allocations: 0 / 0.6978 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Templates: time 0.005/0.495, allocations: 1.796 MB / 0.6996 GB, free: 12.05 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)