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.001408/0.001408, allocations: 104 kB / 16.94 MB, free: 5.801 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.00144/0.00144, allocations: 191.6 kB / 17.87 MB, free: 5.18 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.312/1.312, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7433/0.7433, allocations: 122.9 MB / 414.6 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001526, allocations: 67.88 kB / 0.4918 GB, free: 7.492 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.349, allocations: 77.91 MB / 0.5678 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004231/0.3533, allocations: 2.61 MB / 0.5704 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3555, allocations: 1.481 MB / 0.5718 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.3556, allocations: 3.188 kB / 0.5718 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.3565, allocations: 224.7 kB / 0.5721 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005359/0.357, allocations: 182.5 kB / 0.5722 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.3575, allocations: 159.4 kB / 0.5724 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.3578, allocations: 227.1 kB / 0.5726 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003449/0.3582, allocations: 173.2 kB / 0.5728 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.3584, allocations: 94.69 kB / 0.5729 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.3586, allocations: 117.8 kB / 0.573 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.3587, allocations: 15.47 kB / 0.573 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.3591, allocations: 222.9 kB / 0.5732 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.3592, allocations: 73 kB / 0.5733 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.3593, allocations: 86.27 kB / 0.5733 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.3598, allocations: 326.1 kB / 0.5737 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3598, allocations: 6.672 kB / 0.5737 GB, free: 29.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3598, allocations: 0 / 0.5737 GB, free: 29.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3598, allocations: 0 / 0.5737 GB, free: 29.03 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.0007335/0.3606, allocations: 488 kB / 0.5741 GB, free: 28.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3606, allocations: 8.844 kB / 0.5741 GB, free: 28.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006405/0.3613, allocations: 77.33 kB / 0.5742 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.3615, allocations: 229.7 kB / 0.5744 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3615, allocations: 19.5 kB / 0.5744 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.3616, allocations: 16.48 kB / 0.5745 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.3621, allocations: 325.5 kB / 0.5748 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.3621, allocations: 1.75 kB / 0.5748 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.975e-05/0.3621, allocations: 6.75 kB / 0.5748 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-05/0.3622, allocations: 28.5 kB / 0.5748 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.3626, allocations: 255.6 kB / 0.5751 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.364, allocations: 1.631 MB / 0.5766 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.3646, allocations: 415.6 kB / 0.577 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.3647, allocations: 84.69 kB / 0.5771 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.3649, allocations: 85.95 kB / 0.5772 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.3649, allocations: 37.56 kB / 0.5772 GB, free: 26.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.3649, allocations: 0.5 kB / 0.5772 GB, free: 26.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006861/0.3656, allocations: 306 kB / 0.5775 GB, free: 26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.3656, allocations: 83.83 kB / 0.5776 GB, free: 25.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3658, allocations: 177.3 kB / 0.5778 GB, free: 25.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3658, allocations: 27.11 kB / 0.5778 GB, free: 25.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.3659, allocations: 149.9 kB / 0.578 GB, free: 25.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3659, allocations: 53.95 kB / 0.578 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.7e-05/0.366, allocations: 48.11 kB / 0.578 GB, free: 25.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.3661, allocations: 326.8 kB / 0.5784 GB, free: 25.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.3662, allocations: 81.98 kB / 0.5784 GB, free: 25.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3664, allocations: 151.3 kB / 0.5786 GB, free: 25.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3667, allocations: 261.6 kB / 0.5788 GB, free: 24.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3667, allocations: 0 / 0.5788 GB, free: 24.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004291/0.3671, allocations: 269.1 kB / 0.5791 GB, free: 24.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3671, allocations: 5.5 kB / 0.5791 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.3671, allocations: 2.781 kB / 0.5791 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/0.3672, allocations: 9.266 kB / 0.5791 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.3674, allocations: 58.86 kB / 0.5792 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3674, allocations: 4.188 kB / 0.5792 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.3676, allocations: 23.36 kB / 0.5792 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3676, allocations: 10.86 kB / 0.5792 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001632/0.3678, allocations: 175.3 kB / 0.5794 GB, free: 24.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001321/0.3679, allocations: 155.9 kB / 0.5795 GB, free: 24.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002397/0.3682, allocations: 231.6 kB / 0.5797 GB, free: 24.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.685e-06/0.3682, allocations: 2.031 kB / 0.5797 GB, free: 24.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003484/0.3685, allocations: 250.6 kB / 0.58 GB, free: 24.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.3686, allocations: 8.25 kB / 0.58 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3686, allocations: 2.75 kB / 0.58 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.3686, allocations: 4.875 kB / 0.58 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.3688, allocations: 57.62 kB / 0.58 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3688, allocations: 5.281 kB / 0.5801 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.3689, allocations: 18.14 kB / 0.5801 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3689, allocations: 9.047 kB / 0.5801 GB, free: 24.24 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 7.94e-05/0.369, allocations: 194.9 kB / 0.5803 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.3691, allocations: 15.39 kB / 0.5803 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.3694, allocations: 211.3 kB / 0.5805 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.3694, allocations: 2.062 kB / 0.5805 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3695, allocations: 1.375 kB / 0.5805 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3695, allocations: 1.562 kB / 0.5805 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3706, allocations: 0.9641 MB / 0.5814 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3706, allocations: 9.828 kB / 0.5814 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3708, allocations: 31 kB / 0.5815 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3708, allocations: 7.812 kB / 0.5815 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.3708, allocations: 5.906 kB / 0.5815 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3708, allocations: 5.188 kB / 0.5815 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3708, allocations: 9.406 kB / 0.5815 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003198/0.3711, allocations: 430.4 kB / 0.5819 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.3712, allocations: 112.9 kB / 0.582 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.3713, allocations: 5.875 kB / 0.582 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3715, allocations: 18.33 kB / 0.582 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.3715, allocations: 19.64 kB / 0.5821 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3715, allocations: 6.094 kB / 0.5821 GB, free: 22.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.3716, allocations: 136.5 kB / 0.5822 GB, free: 22.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3716, allocations: 6 kB / 0.5822 GB, free: 22.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.3722, allocations: 70.88 kB / 0.5823 GB, free: 22.62 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.0001294/0.3723, allocations: 120.5 kB / 0.5824 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000483/0.3728, allocations: 311.5 kB / 0.5827 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3728, allocations: 0 / 0.5827 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3729, allocations: 87.95 kB / 0.5828 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.3734, allocations: 37 kB / 0.5828 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.3742, allocations: 0.5026 MB / 0.5833 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.3744, allocations: 0.7492 MB / 0.584 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.3745, allocations: 20.66 kB / 0.584 GB, free: 21.3 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3745, allocations: 0 / 0.584 GB, free: 21.3 MB / 446.1 MB Notification: Performance of Templates: time 0.003779/0.3783, allocations: 2.344 MB / 0.5863 GB, free: 20.17 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)