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.001226/0.001226, allocations: 100.1 kB / 15.88 MB, free: 12 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.001318/0.001318, allocations: 207.2 kB / 16.79 MB, free: 6.84 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: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7648/0.7648, allocations: 122.9 MB / 413.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.91 kB / 0.4904 GB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1845, allocations: 77.93 MB / 0.5665 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.005241/0.1898, allocations: 2.647 MB / 0.5691 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.1927, allocations: 1.492 MB / 0.5706 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.1928, allocations: 4 kB / 0.5706 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007473/0.1936, allocations: 215.2 kB / 0.5708 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005325/0.1942, allocations: 175.4 kB / 0.5709 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.1947, allocations: 133.3 kB / 0.5711 GB, free: 12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1952, allocations: 343.1 kB / 0.5714 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.1956, allocations: 185.8 kB / 0.5716 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.1959, allocations: 79.7 kB / 0.5717 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.1962, allocations: 123.5 kB / 0.5718 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.1962, allocations: 8 kB / 0.5718 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004499/0.1967, allocations: 275.4 kB / 0.572 GB, free: 11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1968, allocations: 75.78 kB / 0.5721 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1969, allocations: 75.61 kB / 0.5722 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.1975, allocations: 339.2 kB / 0.5725 GB, free: 10.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1975, allocations: 8 kB / 0.5725 GB, free: 10.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1975, allocations: 0 / 0.5725 GB, free: 10.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1975, allocations: 0 / 0.5725 GB, free: 10.52 MB / 446.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.000835/0.1983, allocations: 483.2 kB / 0.573 GB, free: 9.996 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1984, allocations: 8.031 kB / 0.573 GB, free: 9.988 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006547/0.199, allocations: 80.56 kB / 0.5731 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.1994, allocations: 236 kB / 0.5733 GB, free: 9.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1994, allocations: 12.7 kB / 0.5733 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.1995, allocations: 16.36 kB / 0.5733 GB, free: 9.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.2, allocations: 316.4 kB / 0.5736 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2, allocations: 4 kB / 0.5736 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.2, allocations: 4 kB / 0.5736 GB, free: 9.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.2001, allocations: 24.27 kB / 0.5736 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.2005, allocations: 256.6 kB / 0.5739 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.2022, allocations: 1.642 MB / 0.5755 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.2029, allocations: 411.2 kB / 0.5759 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.203, allocations: 85.66 kB / 0.576 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.2032, allocations: 85.09 kB / 0.5761 GB, free: 6.547 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2032, allocations: 46.5 kB / 0.5761 GB, free: 6.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.2032, allocations: 0 / 0.5761 GB, free: 6.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006756/0.2039, allocations: 304.7 kB / 0.5764 GB, free: 6.188 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.204, allocations: 81.11 kB / 0.5765 GB, free: 6.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2041, allocations: 181.8 kB / 0.5766 GB, free: 5.906 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.2042, allocations: 25.7 kB / 0.5767 GB, free: 5.875 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.2043, allocations: 147.8 kB / 0.5768 GB, free: 5.723 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.2043, allocations: 47.55 kB / 0.5768 GB, free: 5.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/0.2044, allocations: 49.61 kB / 0.5769 GB, free: 5.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2045, allocations: 326.8 kB / 0.5772 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.2046, allocations: 84.8 kB / 0.5773 GB, free: 5.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.2048, allocations: 156.8 kB / 0.5774 GB, free: 5.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.2051, allocations: 241.5 kB / 0.5777 GB, free: 4.754 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2051, allocations: 4 kB / 0.5777 GB, free: 4.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000411/0.2056, allocations: 280.4 kB / 0.5779 GB, free: 4.473 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2056, allocations: 8 kB / 0.5779 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2056, allocations: 0 / 0.5779 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2056, allocations: 7.938 kB / 0.578 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.2059, allocations: 55.91 kB / 0.578 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2059, allocations: 7.984 kB / 0.578 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.206, allocations: 19.89 kB / 0.578 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.2061, allocations: 8 kB / 0.578 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001817/0.2063, allocations: 176.1 kB / 0.5782 GB, free: 4.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000147/0.2064, allocations: 158.3 kB / 0.5784 GB, free: 4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002689/0.2067, allocations: 230.1 kB / 0.5786 GB, free: 3.738 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.2067, allocations: 4 kB / 0.5786 GB, free: 3.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000353/0.2071, allocations: 241.3 kB / 0.5788 GB, free: 3.492 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/0.2071, allocations: 4 kB / 0.5788 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2071, allocations: 4 kB / 0.5788 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.2071, allocations: 4.344 kB / 0.5788 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/0.2073, allocations: 55.84 kB / 0.5789 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.2073, allocations: 11.92 kB / 0.5789 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.2074, allocations: 19.84 kB / 0.5789 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.2075, allocations: 11.98 kB / 0.5789 GB, free: 3.383 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.2076, allocations: 188.3 kB / 0.5791 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2076, allocations: 11.91 kB / 0.5791 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003502/0.208, allocations: 215.9 kB / 0.5793 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.208, allocations: 4 kB / 0.5793 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.208, allocations: 0 / 0.5793 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.208, allocations: 0 / 0.5793 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.2092, allocations: 0.9651 MB / 0.5803 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2093, allocations: 4 kB / 0.5803 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2094, allocations: 36.34 kB / 0.5803 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.2094, allocations: 8 kB / 0.5803 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.2094, allocations: 8 kB / 0.5803 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.2094, allocations: 7.938 kB / 0.5803 GB, free: 1.816 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.2095, allocations: 7.938 kB / 0.5803 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.2098, allocations: 435.9 kB / 0.5807 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.2099, allocations: 108.9 kB / 0.5809 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.21, allocations: 7.984 kB / 0.5809 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.2102, allocations: 19.98 kB / 0.5809 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.2102, allocations: 19.86 kB / 0.5809 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2102, allocations: 8 kB / 0.5809 GB, free: 1.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.2104, allocations: 137.2 kB / 0.581 GB, free: 1.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2104, allocations: 0 / 0.581 GB, free: 1.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005242/0.2109, allocations: 68 kB / 0.5811 GB, free: 0.9531 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 (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.0001386/0.211, allocations: 123 kB / 0.5812 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000502/0.2115, allocations: 304.2 kB / 0.5815 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2116, allocations: 4 kB / 0.5815 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.2117, allocations: 75.83 kB / 0.5816 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.2122, allocations: 33.36 kB / 0.5816 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2912/0.5035, allocations: 0.541 MB / 0.5821 GB, free: 23.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.5037, allocations: 0.7446 MB / 0.5829 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000289/0.504, allocations: 77.48 kB / 0.5829 GB, free: 22.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.5041, allocations: 18.39 kB / 0.583 GB, free: 22.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5041, allocations: 0 / 0.583 GB, free: 22.78 MB / 446.1 MB Notification: Performance of Templates: time 0.005513/0.5096, allocations: 1.729 MB / 0.5847 GB, free: 22.75 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)