Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.341/1.341, allocations: 251.5 MB / 267.4 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001195, allocations: 178.6 kB / 326.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205 MB / 0.5766 GB, free: 20.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007792/0.0007792, allocations: 100.6 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004945, allocations: 8.781 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2499, allocations: 105.4 MB / 0.8967 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02207/0.272, allocations: 16.74 MB / 0.9131 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01133/0.2834, allocations: 5.92 MB / 0.9189 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.285, allocations: 43.88 kB / 0.9189 GB, free: 45.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003882/0.2889, allocations: 1.205 MB / 0.9201 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.2916, allocations: 0.7824 MB / 0.9209 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.2956, allocations: 1.24 MB / 0.9221 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00709/0.3027, allocations: 6.487 MB / 0.9284 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.3154, allocations: 7.575 MB / 0.9358 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/0.3182, allocations: 1.327 MB / 0.9371 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/0.3215, allocations: 1.924 MB / 0.939 GB, free: 24.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0005113/0.322, allocations: 196 kB / 0.9392 GB, free: 24.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.3238, allocations: 0.7214 MB / 0.9399 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.3253, allocations: 1.384 MB / 0.9412 GB, free: 22.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00161/0.3269, allocations: 1.38 MB / 0.9426 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004931/0.3319, allocations: 5.361 MB / 0.9478 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3319, allocations: 4 kB / 0.9478 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3319, allocations: 0 / 0.9478 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.128e-05/0.332, allocations: 0 / 0.9478 GB, free: 15.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006079/0.3381, allocations: 2.483 MB / 0.9502 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.3381, allocations: 8.031 kB / 0.9502 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008052/0.3462, allocations: 1.144 MB / 0.9514 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004007/0.3502, allocations: 1.596 MB / 0.9529 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.3505, allocations: 230.3 kB / 0.9531 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/0.3512, allocations: 284.4 kB / 0.9534 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.3629, allocations: 5.308 MB / 0.9586 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/0.363, allocations: 7.938 kB / 0.9586 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004758/0.3635, allocations: 124 kB / 0.9587 GB, free: 4.207 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002887/0.3638, allocations: 205.1 kB / 0.9589 GB, free: 4.004 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008539/0.3724, allocations: 4.777 MB / 0.9636 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02409/0.3965, allocations: 23.21 MB / 0.9862 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.4007, allocations: 3.199 MB / 0.9894 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.4018, allocations: 0.9017 MB / 0.9902 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.402, allocations: 109.7 kB / 0.9904 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.402, allocations: 47.16 kB / 0.9904 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.886e-06/0.402, allocations: 0 / 0.9904 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.002949/0.405, allocations: 2.09 MB / 0.9924 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.4051, allocations: 226.2 kB / 0.9927 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4064, allocations: 1.094 MB / 0.9937 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.4064, allocations: 41.7 kB / 0.9938 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.4071, allocations: 1.277 MB / 0.995 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.4074, allocations: 299.9 kB / 0.9953 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.4076, allocations: 129.6 kB / 0.9954 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4077, allocations: 341.9 kB / 0.9957 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4089, allocations: 0.8939 MB / 0.9966 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.4105, allocations: 1.511 MB / 0.9981 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.4134, allocations: 2.373 MB / 1 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.4134, allocations: 4 kB / 1 GB, free: 6.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003569/0.417, allocations: 2.504 MB / 1.003 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003919/0.4174, allocations: 0.6349 MB / 1.003 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.4174, allocations: 23.98 kB / 1.004 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.292e-05/0.4175, allocations: 35.88 kB / 1.004 GB, free: 2.809 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.419, allocations: 463.2 kB / 1.004 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.289e-05/0.419, allocations: 43.84 kB / 1.004 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.4203, allocations: 345.7 kB / 1.004 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.4204, allocations: 79.97 kB / 1.004 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.4205, allocations: 8 kB / 1.004 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002923/0.4234, allocations: 2.226 MB / 1.007 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4234, allocations: 20.16 kB / 1.007 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.4234, allocations: 28 kB / 1.007 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.4247, allocations: 439.2 kB / 1.007 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.225e-05/0.4248, allocations: 39.86 kB / 1.007 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.4258, allocations: 254.5 kB / 1.007 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.426, allocations: 79.92 kB / 1.007 GB, free: 14.82 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.001759/0.4277, allocations: 1.285 MB / 1.009 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.428, allocations: 94.88 kB / 1.009 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.4302, allocations: 1.571 MB / 1.01 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.4303, allocations: 11.98 kB / 1.01 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4303, allocations: 4 kB / 1.01 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.4303, allocations: 3.984 kB / 1.01 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00621/0.4365, allocations: 4.502 MB / 1.015 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4366, allocations: 4 kB / 1.015 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009331/0.4375, allocations: 251.6 kB / 1.015 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.4375, allocations: 4 kB / 1.015 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.4376, allocations: 20 kB / 1.015 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.4376, allocations: 8 kB / 1.015 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.4376, allocations: 7.938 kB / 1.015 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002051/0.4397, allocations: 1.915 MB / 1.017 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.4401, allocations: 327.6 kB / 1.017 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.4403, allocations: 16 kB / 1.017 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008377/0.4411, allocations: 127.8 kB / 1.017 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.4413, allocations: 56.47 kB / 1.017 GB, free: 4.438 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.4413, allocations: 20 kB / 1.017 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009863/0.4423, allocations: 0.7956 MB / 1.018 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4423, allocations: 0 / 1.018 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002796/0.4451, allocations: 1.298 MB / 1.019 GB, free: 2.324 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.0001987/0.4453, allocations: 135 kB / 1.02 GB, free: 2.184 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004079/0.4494, allocations: 2.987 MB / 1.022 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4494, allocations: 0 / 1.022 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008536/0.4503, allocations: 0.6641 MB / 1.023 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.4518, allocations: 179.2 kB / 1.023 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/0.4597, allocations: 6.267 MB / 1.029 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.4618, allocations: 2.278 MB / 1.032 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004795/0.4623, allocations: 111.4 kB / 1.032 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.4623, allocations: 0 / 1.032 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of Templates: time 0.3652/0.8276, allocations: 28.27 MB / 1.059 GB, free: 141 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)