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.001626/0.001626, allocations: 108.1 kB / 17.03 MB, free: 6.148 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.002046/0.002046, allocations: 195 kB / 17.97 MB, free: 5.242 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.749/0.749, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 76.15 MB / 0.5576 GB, free: 36.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.003748/0.3245, allocations: 2.596 MB / 0.5601 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.3266, allocations: 1.485 MB / 0.5616 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.3267, allocations: 3.406 kB / 0.5616 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007667/0.3275, allocations: 227.9 kB / 0.5618 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.328, allocations: 185.4 kB / 0.562 GB, free: 33.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.3284, allocations: 151.9 kB / 0.5621 GB, free: 33.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.3287, allocations: 225.8 kB / 0.5623 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.329, allocations: 172.2 kB / 0.5625 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.3292, allocations: 99.61 kB / 0.5626 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.3294, allocations: 122.8 kB / 0.5627 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.3294, allocations: 12.78 kB / 0.5627 GB, free: 33.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.3298, allocations: 223.8 kB / 0.5629 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.563e-05/0.3299, allocations: 72.19 kB / 0.563 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.33, allocations: 83.81 kB / 0.5631 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000437/0.3305, allocations: 327.5 kB / 0.5634 GB, free: 33.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3305, allocations: 3.938 kB / 0.5634 GB, free: 33.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3305, allocations: 0.5625 kB / 0.5634 GB, free: 33.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3305, allocations: 2.406 kB / 0.5634 GB, free: 33.23 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.0006603/0.3312, allocations: 495.6 kB / 0.5639 GB, free: 32.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3312, allocations: 9.156 kB / 0.5639 GB, free: 32.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006042/0.3318, allocations: 76.48 kB / 0.5639 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3321, allocations: 234.8 kB / 0.5642 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3321, allocations: 11.61 kB / 0.5642 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.3322, allocations: 20.75 kB / 0.5642 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.3326, allocations: 324.9 kB / 0.5645 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3327, allocations: 1.969 kB / 0.5645 GB, free: 32.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.3327, allocations: 10.86 kB / 0.5645 GB, free: 32.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.3327, allocations: 31.88 kB / 0.5646 GB, free: 32.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.3331, allocations: 251.9 kB / 0.5648 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001397/0.3345, allocations: 1.625 MB / 0.5664 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.3352, allocations: 413.5 kB / 0.5668 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3353, allocations: 87.47 kB / 0.5669 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.3354, allocations: 88.05 kB / 0.5669 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.3355, allocations: 35.47 kB / 0.567 GB, free: 30.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.3355, allocations: 0 / 0.567 GB, free: 30.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000619/0.3361, allocations: 308.6 kB / 0.5673 GB, free: 30.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.3361, allocations: 83.02 kB / 0.5674 GB, free: 30.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3363, allocations: 167.6 kB / 0.5675 GB, free: 29.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3363, allocations: 30.83 kB / 0.5675 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.3363, allocations: 150.6 kB / 0.5677 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.3364, allocations: 55.31 kB / 0.5677 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.3365, allocations: 48.08 kB / 0.5678 GB, free: 29.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.3365, allocations: 324.5 kB / 0.5681 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3367, allocations: 82.19 kB / 0.5682 GB, free: 29.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3368, allocations: 152.9 kB / 0.5683 GB, free: 29.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.3371, allocations: 258.4 kB / 0.5686 GB, free: 29.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3371, allocations: 0.5 kB / 0.5686 GB, free: 29.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000384/0.3375, allocations: 271.6 kB / 0.5688 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3375, allocations: 6.453 kB / 0.5688 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.3375, allocations: 3.344 kB / 0.5688 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3376, allocations: 7.219 kB / 0.5688 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.3378, allocations: 58.16 kB / 0.5689 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3378, allocations: 4.891 kB / 0.5689 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.338, allocations: 17.47 kB / 0.5689 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.338, allocations: 16.62 kB / 0.5689 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001668/0.3382, allocations: 176.6 kB / 0.5691 GB, free: 28.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001261/0.3383, allocations: 143.7 kB / 0.5692 GB, free: 28.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002258/0.3386, allocations: 231 kB / 0.5695 GB, free: 28.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.3386, allocations: 1.375 kB / 0.5695 GB, free: 28.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003337/0.3389, allocations: 256 kB / 0.5697 GB, free: 28.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.3389, allocations: 7.453 kB / 0.5697 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3389, allocations: 4.719 kB / 0.5697 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.029e-06/0.339, allocations: 3.906 kB / 0.5697 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.3391, allocations: 54.58 kB / 0.5698 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.3392, allocations: 5.578 kB / 0.5698 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.3393, allocations: 14.86 kB / 0.5698 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.3393, allocations: 8.312 kB / 0.5698 GB, free: 28.45 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 6.893e-05/0.3394, allocations: 198.3 kB / 0.57 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.3394, allocations: 14.47 kB / 0.57 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.3398, allocations: 204.6 kB / 0.5702 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3398, allocations: 5.375 kB / 0.5702 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3398, allocations: 0 / 0.5702 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3398, allocations: 2.609 kB / 0.5702 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.3409, allocations: 0.971 MB / 0.5712 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3409, allocations: 4.625 kB / 0.5712 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.3411, allocations: 31.94 kB / 0.5712 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3411, allocations: 7.531 kB / 0.5712 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.3411, allocations: 10.52 kB / 0.5712 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3411, allocations: 4.484 kB / 0.5712 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.3411, allocations: 7.703 kB / 0.5712 GB, free: 27.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3414, allocations: 438.1 kB / 0.5716 GB, free: 27.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.3415, allocations: 106.7 kB / 0.5717 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.3416, allocations: 10.36 kB / 0.5717 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3418, allocations: 12.36 kB / 0.5718 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.3418, allocations: 23.31 kB / 0.5718 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3418, allocations: 9.719 kB / 0.5718 GB, free: 26.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.426e-05/0.3419, allocations: 136 kB / 0.5719 GB, free: 26.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3419, allocations: 3.938 kB / 0.5719 GB, free: 26.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005557/0.3425, allocations: 75.09 kB / 0.572 GB, free: 26.82 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.0001215/0.3426, allocations: 117.7 kB / 0.5721 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.3431, allocations: 298 kB / 0.5724 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3431, allocations: 3.906 kB / 0.5724 GB, free: 26.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3432, allocations: 85.59 kB / 0.5725 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005199/0.3437, allocations: 46.27 kB / 0.5725 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.3444, allocations: 475 kB / 0.573 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.3446, allocations: 0.7492 MB / 0.5737 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3449, allocations: 74.52 kB / 0.5738 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.3449, allocations: 17.27 kB / 0.5738 GB, free: 25.54 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3449, allocations: 0 / 0.5738 GB, free: 25.54 MB / 446.1 MB Notification: Performance of Templates: time 0.004748/0.3497, allocations: 1.803 MB / 0.5756 GB, free: 25.42 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)