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.0009999/0.0009999, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007758/0.007758, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 267 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9838/0.9838, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 16.84 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1528, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002913/0.1557, allocations: 2.302 MB / 0.6874 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002141/0.1579, allocations: 1.465 MB / 0.6888 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.158, allocations: 7.938 kB / 0.6888 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.1581, allocations: 29.25 kB / 0.6888 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.1586, allocations: 167.4 kB / 0.689 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1589, allocations: 140.8 kB / 0.6891 GB, free: 10.95 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003583/0.1593, allocations: 347.1 kB / 0.6895 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.1599, allocations: 342.8 kB / 0.6898 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.16, allocations: 75.69 kB / 0.6899 GB, free: 10.19 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1603, allocations: 107.6 kB / 0.69 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1603, allocations: 8.656 kB / 0.69 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.1607, allocations: 279.3 kB / 0.6902 GB, free: 9.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.844e-05/0.1607, allocations: 62.16 kB / 0.6903 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.1608, allocations: 101.3 kB / 0.6904 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.1612, allocations: 326.9 kB / 0.6907 GB, free: 9.316 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1612, allocations: 0 / 0.6907 GB, free: 9.316 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1612, allocations: 0 / 0.6907 GB, free: 9.316 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1612, allocations: 0 / 0.6907 GB, free: 9.316 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.0006126/0.1619, allocations: 465.4 kB / 0.6912 GB, free: 8.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1619, allocations: 8.031 kB / 0.6912 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005896/0.1625, allocations: 80.56 kB / 0.6912 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.1628, allocations: 230.9 kB / 0.6915 GB, free: 8.465 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1628, allocations: 13.48 kB / 0.6915 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.1628, allocations: 16.98 kB / 0.6915 GB, free: 8.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.1633, allocations: 327.7 kB / 0.6918 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1634, allocations: 0.8438 kB / 0.6918 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1634, allocations: 4 kB / 0.6918 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.1634, allocations: 28.2 kB / 0.6918 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003697/0.1638, allocations: 252.6 kB / 0.6921 GB, free: 7.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.1654, allocations: 1.634 MB / 0.6937 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/0.166, allocations: 407.2 kB / 0.6941 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1662, allocations: 85.67 kB / 0.6941 GB, free: 5.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.1663, allocations: 93.08 kB / 0.6942 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1664, allocations: 38.5 kB / 0.6943 GB, free: 5.324 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.1664, allocations: 0 / 0.6943 GB, free: 5.324 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006257/0.167, allocations: 316.6 kB / 0.6946 GB, free: 5.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.167, allocations: 77.11 kB / 0.6946 GB, free: 4.914 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1672, allocations: 168.9 kB / 0.6948 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1672, allocations: 29.7 kB / 0.6948 GB, free: 4.707 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.126e-05/0.1673, allocations: 152 kB / 0.695 GB, free: 4.555 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.1674, allocations: 47.34 kB / 0.695 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.1674, allocations: 25.72 kB / 0.695 GB, free: 4.477 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1675, allocations: 322.8 kB / 0.6954 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1676, allocations: 75.95 kB / 0.6954 GB, free: 4.078 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1678, allocations: 159.3 kB / 0.6956 GB, free: 3.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.1681, allocations: 245.2 kB / 0.6958 GB, free: 3.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1681, allocations: 0 / 0.6958 GB, free: 3.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003805/0.1685, allocations: 277.4 kB / 0.6961 GB, free: 3.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.076e-05/0.1686, allocations: 165.5 kB / 0.6962 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1686, allocations: 4.188 kB / 0.6962 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1686, allocations: 4 kB / 0.6962 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.1689, allocations: 55.83 kB / 0.6963 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1689, allocations: 4 kB / 0.6963 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.169, allocations: 19.92 kB / 0.6963 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.169, allocations: 8 kB / 0.6963 GB, free: 3.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.1691, allocations: 8 kB / 0.6963 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002868/0.1693, allocations: 214.4 kB / 0.6965 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1694, allocations: 4 kB / 0.6965 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-06/0.1694, allocations: 4 kB / 0.6965 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.1695, allocations: 47.91 kB / 0.6966 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1696, allocations: 16.38 kB / 0.6966 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1697, allocations: 27.84 kB / 0.6966 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.1697, allocations: 11.98 kB / 0.6966 GB, free: 2.723 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.0001377/0.1698, allocations: 225 kB / 0.6969 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.1699, allocations: 7.906 kB / 0.6969 GB, free: 2.484 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003394/0.1702, allocations: 207.6 kB / 0.6971 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1703, allocations: 8 kB / 0.6971 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.1703, allocations: 3.938 kB / 0.6971 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1703, allocations: 0 / 0.6971 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.1714, allocations: 0.9612 MB / 0.698 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1714, allocations: 0 / 0.698 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.1715, allocations: 39.91 kB / 0.6981 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1716, allocations: 4 kB / 0.6981 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1716, allocations: 8.438 kB / 0.6981 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1716, allocations: 11.94 kB / 0.6981 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1716, allocations: 4 kB / 0.6981 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.1719, allocations: 428.8 kB / 0.6985 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.172, allocations: 116.8 kB / 0.6986 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1721, allocations: 12 kB / 0.6986 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1723, allocations: 7.984 kB / 0.6986 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.1723, allocations: 23.86 kB / 0.6986 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.1723, allocations: 8 kB / 0.6987 GB, free: 476 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1724, allocations: 133 kB / 0.6988 GB, free: 344 kB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1724, allocations: 0 / 0.6988 GB, free: 344 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.1729, allocations: 76 kB / 0.6989 GB, free: 268 kB / 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.0001744/0.1731, allocations: 111.2 kB / 0.699 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.1736, allocations: 292.9 kB / 0.6992 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1736, allocations: 4.062 kB / 0.6992 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.1737, allocations: 87.77 kB / 0.6993 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.1743, allocations: 42.12 kB / 0.6994 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008171/0.1751, allocations: 0.5625 MB / 0.6999 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.1755, allocations: 0.7518 MB / 0.7006 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.1757, allocations: 77.47 kB / 0.7007 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.1757, allocations: 15.44 kB / 0.7007 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1757, allocations: 0 / 0.7007 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.004284/0.18, allocations: 1.713 MB / 0.7024 GB, free: 12.56 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)