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.001274/0.001274, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 192 kB / 16.53 MB, free: 6.391 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.294/1.294, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 283.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9084/0.9084, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 97.47 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1465, allocations: 86.98 MB / 0.6802 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00403/0.1505, allocations: 2.598 MB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.1528, allocations: 1.484 MB / 0.6842 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.153, allocations: 10.44 kB / 0.6842 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.1537, allocations: 215.1 kB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.1541, allocations: 192.1 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.1545, allocations: 157.2 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1547, allocations: 223.3 kB / 0.6849 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002906/0.155, allocations: 181.3 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1552, allocations: 103.6 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002092/0.1554, allocations: 111.6 kB / 0.6853 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1554, allocations: 12 kB / 0.6853 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.1557, allocations: 223.6 kB / 0.6855 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.657e-05/0.1558, allocations: 75.78 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.1559, allocations: 87.55 kB / 0.6857 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000397/0.1563, allocations: 323 kB / 0.686 GB, free: 10.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1563, allocations: 0 / 0.686 GB, free: 10.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1564, allocations: 4 kB / 0.686 GB, free: 10.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1564, allocations: 0 / 0.686 GB, free: 10.7 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.0006139/0.157, allocations: 495.1 kB / 0.6865 GB, free: 10.17 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.157, allocations: 8.031 kB / 0.6865 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.1576, allocations: 76.66 kB / 0.6866 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1578, allocations: 232.6 kB / 0.6868 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1578, allocations: 20.67 kB / 0.6868 GB, free: 9.805 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1579, allocations: 12.38 kB / 0.6868 GB, free: 9.793 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.1583, allocations: 325 kB / 0.6871 GB, free: 9.441 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1584, allocations: 7.906 kB / 0.6871 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1584, allocations: 7.984 kB / 0.6871 GB, free: 9.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-05/0.1584, allocations: 24.27 kB / 0.6872 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003674/0.1588, allocations: 252.6 kB / 0.6874 GB, free: 9.152 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1603, allocations: 1.615 MB / 0.689 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.161, allocations: 427 kB / 0.6894 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1611, allocations: 81.67 kB / 0.6895 GB, free: 6.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.1613, allocations: 85.09 kB / 0.6895 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1613, allocations: 38.56 kB / 0.6896 GB, free: 6.684 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.1613, allocations: 0 / 0.6896 GB, free: 6.684 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006218/0.1619, allocations: 316.5 kB / 0.6899 GB, free: 6.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.162, allocations: 81.33 kB / 0.69 GB, free: 6.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1622, allocations: 178.8 kB / 0.6901 GB, free: 6.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1622, allocations: 29.64 kB / 0.6902 GB, free: 6.055 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.377e-05/0.1623, allocations: 151.7 kB / 0.6903 GB, free: 5.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1623, allocations: 47.36 kB / 0.6903 GB, free: 5.855 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.521e-05/0.1624, allocations: 41.7 kB / 0.6904 GB, free: 5.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1625, allocations: 331 kB / 0.6907 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1626, allocations: 80.81 kB / 0.6908 GB, free: 5.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.1628, allocations: 151.4 kB / 0.6909 GB, free: 5.215 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1631, allocations: 255.3 kB / 0.6912 GB, free: 4.934 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.1631, allocations: 4 kB / 0.6912 GB, free: 4.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003826/0.1635, allocations: 265.2 kB / 0.6914 GB, free: 4.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1635, allocations: 8.312 kB / 0.6914 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1635, allocations: 4 kB / 0.6914 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1635, allocations: 7.938 kB / 0.6914 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1638, allocations: 55.89 kB / 0.6915 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1638, allocations: 4 kB / 0.6915 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.1639, allocations: 19.92 kB / 0.6915 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.164, allocations: 11.98 kB / 0.6915 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001753/0.1641, allocations: 176.1 kB / 0.6917 GB, free: 4.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001482/0.1643, allocations: 153.5 kB / 0.6918 GB, free: 4.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002638/0.1646, allocations: 227.1 kB / 0.6921 GB, free: 3.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.1646, allocations: 4 kB / 0.6921 GB, free: 3.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003541/0.1649, allocations: 259.7 kB / 0.6923 GB, free: 3.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.165, allocations: 7.938 kB / 0.6923 GB, free: 3.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.165, allocations: 4 kB / 0.6923 GB, free: 3.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.165, allocations: 8.031 kB / 0.6923 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.1652, allocations: 51.84 kB / 0.6924 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1652, allocations: 4 kB / 0.6924 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.1653, allocations: 20.33 kB / 0.6924 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.1653, allocations: 8 kB / 0.6924 GB, free: 3.574 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.0001152/0.1654, allocations: 200.1 kB / 0.6926 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1655, allocations: 19.8 kB / 0.6926 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.1659, allocations: 203.7 kB / 0.6928 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1659, allocations: 4 kB / 0.6928 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1659, allocations: 4 kB / 0.6928 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1659, allocations: 0 / 0.6928 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.167, allocations: 0.9612 MB / 0.6938 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.167, allocations: 4 kB / 0.6938 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.1672, allocations: 31.92 kB / 0.6938 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.1672, allocations: 4 kB / 0.6938 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1672, allocations: 12.38 kB / 0.6938 GB, free: 2.012 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1672, allocations: 11.98 kB / 0.6938 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1672, allocations: 15.81 kB / 0.6938 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.1676, allocations: 428.8 kB / 0.6943 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-05/0.1677, allocations: 116.8 kB / 0.6944 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.1677, allocations: 8 kB / 0.6944 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.1679, allocations: 15.98 kB / 0.6944 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.168, allocations: 15.92 kB / 0.6944 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.168, allocations: 4 kB / 0.6944 GB, free: 1.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1681, allocations: 139.2 kB / 0.6945 GB, free: 1.199 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1681, allocations: 0 / 0.6945 GB, free: 1.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.1686, allocations: 72 kB / 0.6946 GB, free: 1.129 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.0001294/0.1687, allocations: 109.1 kB / 0.6947 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004571/0.1692, allocations: 312.3 kB / 0.695 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1692, allocations: 4.438 kB / 0.695 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1693, allocations: 79.83 kB / 0.6951 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.1698, allocations: 35.3 kB / 0.6951 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007421/0.1705, allocations: 491.3 kB / 0.6956 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1709, allocations: 0.748 MB / 0.6963 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000196/0.1711, allocations: 73.47 kB / 0.6964 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.1711, allocations: 15.44 kB / 0.6964 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1711, allocations: 0 / 0.6964 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.004362/0.1755, allocations: 1.807 MB / 0.6982 GB, free: 13.42 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)