Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008804/0.0008804, allocations: 98.22 kB / 15.69 MB, free: 488 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.0009012/0.0009012, allocations: 174.9 kB / 16.57 MB, free: 6.387 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.39/1.39, allocations: 223.2 MB / 240.5 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003654, allocations: 8.938 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.16, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002785/0.1628, allocations: 2.194 MB / 0.559 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1647, allocations: 1.357 MB / 0.5603 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.676e-05/0.1648, allocations: 11.94 kB / 0.5603 GB, free: 8.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.1649, allocations: 19.84 kB / 0.5603 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003585/0.1653, allocations: 119.6 kB / 0.5605 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1656, allocations: 119.6 kB / 0.5606 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1658, allocations: 127.7 kB / 0.5607 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005455/0.1664, allocations: 310 kB / 0.561 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1665, allocations: 63.77 kB / 0.561 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.1667, allocations: 75.73 kB / 0.5611 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1667, allocations: 4 kB / 0.5611 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.1669, allocations: 119.8 kB / 0.5612 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.167, allocations: 63.8 kB / 0.5613 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.1671, allocations: 53.64 kB / 0.5613 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.1674, allocations: 243.6 kB / 0.5616 GB, free: 6.711 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1674, allocations: 0 / 0.5616 GB, free: 6.711 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1674, allocations: 0 / 0.5616 GB, free: 6.711 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.1674, allocations: 0 / 0.5616 GB, free: 6.711 MB / 430.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.0006078/0.168, allocations: 459.1 kB / 0.562 GB, free: 6.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1681, allocations: 16.02 kB / 0.562 GB, free: 6.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/0.1687, allocations: 87.61 kB / 0.5621 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.169, allocations: 226.8 kB / 0.5623 GB, free: 5.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.169, allocations: 12.33 kB / 0.5623 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.169, allocations: 23.89 kB / 0.5624 GB, free: 5.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.1695, allocations: 312.1 kB / 0.5627 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1695, allocations: 15.89 kB / 0.5627 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.1696, allocations: 7.984 kB / 0.5627 GB, free: 5.449 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.1696, allocations: 20.27 kB / 0.5627 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.17, allocations: 256.5 kB / 0.563 GB, free: 5.176 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.1715, allocations: 1.626 MB / 0.5645 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.1721, allocations: 411.1 kB / 0.5649 GB, free: 2.945 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.1722, allocations: 85.09 kB / 0.565 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1723, allocations: 38.56 kB / 0.565 GB, free: 2.797 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.1723, allocations: 4 kB / 0.5651 GB, free: 2.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006172/0.1729, allocations: 293.6 kB / 0.5653 GB, free: 2.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1729, allocations: 81.11 kB / 0.5654 GB, free: 2.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1731, allocations: 181.6 kB / 0.5656 GB, free: 2.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1731, allocations: 25.7 kB / 0.5656 GB, free: 2.188 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.1732, allocations: 148 kB / 0.5657 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.1733, allocations: 55.3 kB / 0.5658 GB, free: 1.984 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.1733, allocations: 4.219 kB / 0.5658 GB, free: 1.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1734, allocations: 326.8 kB / 0.5661 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1735, allocations: 79.89 kB / 0.5662 GB, free: 1.574 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1737, allocations: 148.7 kB / 0.5663 GB, free: 1.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1738, allocations: 103.9 kB / 0.5664 GB, free: 1.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1738, allocations: 0 / 0.5664 GB, free: 1.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003648/0.1742, allocations: 265.3 kB / 0.5667 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003199/0.1745, allocations: 0.9679 MB / 0.5676 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1745, allocations: 0 / 0.5676 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1746, allocations: 4 kB / 0.5676 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.1748, allocations: 56.09 kB / 0.5677 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1748, allocations: 7.984 kB / 0.5677 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.175, allocations: 23.83 kB / 0.5677 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.175, allocations: 8 kB / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.175, allocations: 4 kB / 0.5677 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002927/0.1753, allocations: 207.9 kB / 0.5679 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1753, allocations: 7.984 kB / 0.5679 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.1753, allocations: 4 kB / 0.5679 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.1755, allocations: 51.91 kB / 0.568 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1755, allocations: 7.984 kB / 0.568 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1756, allocations: 11.94 kB / 0.568 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1757, allocations: 8 kB / 0.568 GB, free: 15.59 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001449/0.1758, allocations: 225 kB / 0.5682 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.1759, allocations: 15.81 kB / 0.5682 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.1762, allocations: 211.5 kB / 0.5684 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.1762, allocations: 4 kB / 0.5685 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1762, allocations: 0 / 0.5685 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1763, allocations: 0 / 0.5685 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.1775, allocations: 0.9693 MB / 0.5694 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1775, allocations: 12.09 kB / 0.5694 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1776, allocations: 39.91 kB / 0.5694 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.1776, allocations: 4 kB / 0.5695 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1777, allocations: 4 kB / 0.5695 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.1777, allocations: 4 kB / 0.5695 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1777, allocations: 4 kB / 0.5695 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.1781, allocations: 0.5847 MB / 0.57 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.1783, allocations: 116.9 kB / 0.5701 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.1783, allocations: 8 kB / 0.5702 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.1785, allocations: 11.98 kB / 0.5702 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1785, allocations: 23.94 kB / 0.5702 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1785, allocations: 4 kB / 0.5702 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1786, allocations: 135.2 kB / 0.5703 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1787, allocations: 0 / 0.5703 GB, free: 12.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005023/0.1792, allocations: 68 kB / 0.5704 GB, free: 12.89 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001469/0.1793, allocations: 115.8 kB / 0.5705 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.1798, allocations: 299.5 kB / 0.5708 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1798, allocations: 0 / 0.5708 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1799, allocations: 85.88 kB / 0.5709 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.1802, allocations: 34.81 kB / 0.5709 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.1811, allocations: 0.5652 MB / 0.5715 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1814, allocations: 0.7558 MB / 0.5722 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.1816, allocations: 81.39 kB / 0.5723 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.1816, allocations: 15.44 kB / 0.5723 GB, free: 10.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1816, allocations: 0 / 0.5723 GB, free: 10.85 MB / 446.1 MB Notification: Performance of Templates: time 0.004348/0.186, allocations: 1.654 MB / 0.5739 GB, free: 9.215 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)