Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009264/0.0009264, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00663/0.00663, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.0005989, allocations: 17.69 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3441, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.004061/0.3483, allocations: 2.325 MB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00271/0.351, allocations: 1.501 MB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.3512, allocations: 4 kB / 0.7916 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.3514, allocations: 27.78 kB / 0.7917 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.3519, allocations: 175.4 kB / 0.7918 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.3524, allocations: 143.7 kB / 0.792 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.3528, allocations: 351 kB / 0.7923 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000676/0.3535, allocations: 323.1 kB / 0.7926 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.3536, allocations: 75.64 kB / 0.7927 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.354, allocations: 111.6 kB / 0.7928 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.354, allocations: 8 kB / 0.7928 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004489/0.3545, allocations: 275.5 kB / 0.793 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.3546, allocations: 59.81 kB / 0.7931 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.3547, allocations: 113.2 kB / 0.7932 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004494/0.3552, allocations: 326.9 kB / 0.7935 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3552, allocations: 0 / 0.7935 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.245e-06/0.3552, allocations: 0 / 0.7935 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.3552, allocations: 0 / 0.7935 GB, free: 5.742 MB / 0.6075 GB 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.0008594/0.3561, allocations: 459.2 kB / 0.794 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3561, allocations: 12.03 kB / 0.794 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.3568, allocations: 80.56 kB / 0.7941 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.3571, allocations: 232 kB / 0.7943 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3571, allocations: 12.7 kB / 0.7943 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.3572, allocations: 20.31 kB / 0.7943 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.3577, allocations: 328.1 kB / 0.7946 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3577, allocations: 3.938 kB / 0.7946 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3578, allocations: 8 kB / 0.7946 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.3578, allocations: 20.27 kB / 0.7946 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.3582, allocations: 252.6 kB / 0.7949 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.3598, allocations: 1.626 MB / 0.7965 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.3605, allocations: 415.1 kB / 0.7969 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3606, allocations: 89.67 kB / 0.797 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.3608, allocations: 85.09 kB / 0.797 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.3608, allocations: 34.56 kB / 0.7971 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.654e-06/0.3608, allocations: 0 / 0.7971 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000669/0.3615, allocations: 316.3 kB / 0.7974 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.3616, allocations: 81.52 kB / 0.7975 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3618, allocations: 175.3 kB / 0.7976 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3618, allocations: 29.64 kB / 0.7976 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3619, allocations: 155.8 kB / 0.7978 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.362, allocations: 43.36 kB / 0.7978 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.362, allocations: 25.7 kB / 0.7979 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3621, allocations: 326.8 kB / 0.7982 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3623, allocations: 75.95 kB / 0.7982 GB, free: 500 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.3624, allocations: 160.2 kB / 0.7984 GB, free: 308 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.3628, allocations: 250.3 kB / 0.7986 GB, free: 24 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3628, allocations: 0 / 0.7986 GB, free: 24 kB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004018/0.3632, allocations: 269.3 kB / 0.7989 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.3633, allocations: 167.4 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3633, allocations: 4 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3633, allocations: 8 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.3636, allocations: 55.89 kB / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3636, allocations: 4 kB / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.3637, allocations: 15.92 kB / 0.7991 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.3638, allocations: 16 kB / 0.7992 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-06/0.3638, allocations: 0 / 0.7992 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003031/0.3641, allocations: 215.9 kB / 0.7994 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3641, allocations: 4 kB / 0.7994 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.478e-06/0.3641, allocations: 4 kB / 0.7994 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.3643, allocations: 51.91 kB / 0.7994 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3643, allocations: 4 kB / 0.7994 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3644, allocations: 20.02 kB / 0.7994 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.3644, allocations: 12 kB / 0.7995 GB, free: 15.15 MB / 0.6231 GB 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.0001559/0.3646, allocations: 221 kB / 0.7997 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.071e-05/0.3647, allocations: 23.89 kB / 0.7997 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.365, allocations: 215.6 kB / 0.7999 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.365, allocations: 4 kB / 0.7999 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3651, allocations: 3.938 kB / 0.7999 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3651, allocations: 0 / 0.7999 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.3662, allocations: 0.9654 MB / 0.8008 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3663, allocations: 4 kB / 0.8008 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.3664, allocations: 31.92 kB / 0.8009 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3664, allocations: 4 kB / 0.8009 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.3664, allocations: 4 kB / 0.8009 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.3664, allocations: 7.984 kB / 0.8009 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.3664, allocations: 4 kB / 0.8009 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3668, allocations: 444.8 kB / 0.8013 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.3669, allocations: 108.9 kB / 0.8014 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.367, allocations: 8 kB / 0.8014 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3671, allocations: 15.98 kB / 0.8014 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.3672, allocations: 15.92 kB / 0.8015 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3672, allocations: 8 kB / 0.8015 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001145/0.3673, allocations: 139.7 kB / 0.8016 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3673, allocations: 0 / 0.8016 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004957/0.3678, allocations: 68 kB / 0.8017 GB, free: 12.68 MB / 0.6231 GB 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.000173/0.368, allocations: 111.2 kB / 0.8018 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.3685, allocations: 307.1 kB / 0.8021 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3685, allocations: 4 kB / 0.8021 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3686, allocations: 77.27 kB / 0.8021 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005341/0.3692, allocations: 32.61 kB / 0.8022 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000897/0.3701, allocations: 0.5613 MB / 0.8027 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.3705, allocations: 0.7441 MB / 0.8034 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.3707, allocations: 85.45 kB / 0.8035 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.202e-05/0.3707, allocations: 19.38 kB / 0.8035 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.3707, allocations: 0 / 0.8035 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of Templates: time 0.004702/0.3754, allocations: 1.702 MB / 0.8052 GB, free: 8.961 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: