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.0009565/0.0009564, allocations: 86.84 kB / 16.67 MB, free: 5.742 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.0009596/0.0009596, allocations: 181.2 kB / 17.58 MB, free: 5.477 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.396/1.396, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7335/0.7335, allocations: 115.5 MB / 408.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003474, allocations: 8 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3568, allocations: 77.51 MB / 0.5606 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002837/0.3597, allocations: 2.305 MB / 0.5628 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.3619, allocations: 1.457 MB / 0.5643 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.362, allocations: 2.625 kB / 0.5643 GB, free: 33.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.3622, allocations: 28.81 kB / 0.5643 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004695/0.3627, allocations: 180.4 kB / 0.5645 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.3631, allocations: 139.5 kB / 0.5646 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.3634, allocations: 350.3 kB / 0.5649 GB, free: 33.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005918/0.364, allocations: 334.2 kB / 0.5653 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3642, allocations: 86.45 kB / 0.5653 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002348/0.3644, allocations: 105.8 kB / 0.5654 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.3645, allocations: 7.469 kB / 0.5654 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.3649, allocations: 273 kB / 0.5657 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.365, allocations: 62.75 kB / 0.5658 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.192e-05/0.3651, allocations: 105.8 kB / 0.5659 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003602/0.3655, allocations: 245 kB / 0.5661 GB, free: 32.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3655, allocations: 0.75 kB / 0.5661 GB, free: 32.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3655, allocations: 3.125 kB / 0.5661 GB, free: 32.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3655, allocations: 0 / 0.5661 GB, free: 32.82 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.0005755/0.3661, allocations: 459.3 kB / 0.5665 GB, free: 32.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3661, allocations: 8.656 kB / 0.5665 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006208/0.3667, allocations: 82.38 kB / 0.5666 GB, free: 32.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.367, allocations: 225.7 kB / 0.5668 GB, free: 32.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.367, allocations: 12.86 kB / 0.5669 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.3671, allocations: 18.52 kB / 0.5669 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.3675, allocations: 329 kB / 0.5672 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3676, allocations: 5.219 kB / 0.5672 GB, free: 31.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.3676, allocations: 10.67 kB / 0.5672 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.3676, allocations: 18.08 kB / 0.5672 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.368, allocations: 252.4 kB / 0.5675 GB, free: 31.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3694, allocations: 1.637 MB / 0.5691 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.37, allocations: 416.8 kB / 0.5695 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3702, allocations: 89.02 kB / 0.5695 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.3703, allocations: 86.98 kB / 0.5696 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.3703, allocations: 35.11 kB / 0.5697 GB, free: 29.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.3703, allocations: 0 / 0.5697 GB, free: 29.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006539/0.371, allocations: 309.6 kB / 0.5699 GB, free: 29.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.371, allocations: 83.84 kB / 0.57 GB, free: 29.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.3712, allocations: 172.2 kB / 0.5702 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.3712, allocations: 30.52 kB / 0.5702 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.3713, allocations: 150.2 kB / 0.5704 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3713, allocations: 52.08 kB / 0.5704 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.3713, allocations: 21.02 kB / 0.5704 GB, free: 29.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.3714, allocations: 328.3 kB / 0.5707 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3715, allocations: 75.98 kB / 0.5708 GB, free: 29.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3717, allocations: 148.3 kB / 0.571 GB, free: 28.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.372, allocations: 251 kB / 0.5712 GB, free: 28.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.372, allocations: 1.25 kB / 0.5712 GB, free: 28.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003946/0.3724, allocations: 271 kB / 0.5715 GB, free: 28.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.664e-05/0.3725, allocations: 172 kB / 0.5716 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3725, allocations: 3.469 kB / 0.5716 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3725, allocations: 4.656 kB / 0.5716 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3728, allocations: 54.44 kB / 0.5717 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3728, allocations: 3.703 kB / 0.5717 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.3729, allocations: 19.64 kB / 0.5717 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.373, allocations: 9.219 kB / 0.5717 GB, free: 28.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.373, allocations: 4.75 kB / 0.5717 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003153/0.3733, allocations: 212.6 kB / 0.5719 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.3733, allocations: 3.969 kB / 0.5719 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-06/0.3733, allocations: 3.688 kB / 0.5719 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.3735, allocations: 50.11 kB / 0.572 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3735, allocations: 4.375 kB / 0.572 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3736, allocations: 21.72 kB / 0.572 GB, free: 28.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.3736, allocations: 11.03 kB / 0.572 GB, free: 28.33 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.0001178/0.3738, allocations: 226.4 kB / 0.5722 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.3738, allocations: 15.44 kB / 0.5722 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.3742, allocations: 204.7 kB / 0.5724 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3742, allocations: 2 kB / 0.5724 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3742, allocations: 4.875 kB / 0.5724 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3742, allocations: 4.969 kB / 0.5725 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.3753, allocations: 0.9619 MB / 0.5734 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3753, allocations: 5.719 kB / 0.5734 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.3755, allocations: 39.62 kB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.3755, allocations: 4.438 kB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3755, allocations: 3.656 kB / 0.5734 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.3755, allocations: 10.48 kB / 0.5735 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3755, allocations: 3.75 kB / 0.5735 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.3759, allocations: 442 kB / 0.5739 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.387e-05/0.3759, allocations: 110 kB / 0.574 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.376, allocations: 10.31 kB / 0.574 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3762, allocations: 17.34 kB / 0.574 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.3762, allocations: 20.11 kB / 0.574 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.3762, allocations: 6.812 kB / 0.574 GB, free: 26.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.771e-05/0.3763, allocations: 135.5 kB / 0.5742 GB, free: 26.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3763, allocations: 0.75 kB / 0.5742 GB, free: 26.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.3769, allocations: 71.02 kB / 0.5742 GB, free: 26.7 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.0001222/0.377, allocations: 115.8 kB / 0.5743 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.3775, allocations: 300.9 kB / 0.5746 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3775, allocations: 0 / 0.5746 GB, free: 26.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3776, allocations: 81.66 kB / 0.5747 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.3781, allocations: 39.44 kB / 0.5747 GB, free: 26.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.3789, allocations: 0.5969 MB / 0.5753 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.3791, allocations: 0.7465 MB / 0.5761 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.3792, allocations: 19.73 kB / 0.5761 GB, free: 25.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3792, allocations: 0 / 0.5761 GB, free: 25.31 MB / 446.1 MB Notification: Performance of Templates: time 0.004682/0.3839, allocations: 2.326 MB / 0.5783 GB, free: 25.15 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)