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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.00113, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01046/0.01046, allocations: 171 kB / 16.26 MB, free: 6.613 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.573/1.573, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.549/1.549, allocations: 252 MB / 0.5105 GB, free: 4.625 MB / 414.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.0005689/0.0005689, allocations: 16 kB / 0.6249 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5673/0.5679, allocations: 106.3 MB / 0.7287 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01889/0.5869, allocations: 16.51 MB / 0.7449 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.598, allocations: 5.854 MB / 0.7506 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.6001, allocations: 43.88 kB / 0.7506 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.6016, allocations: 321.7 kB / 0.7509 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.6044, allocations: 0.7824 MB / 0.7517 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.6073, allocations: 0.8762 MB / 0.7525 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007277/0.6146, allocations: 6.483 MB / 0.7589 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/0.6273, allocations: 7.948 MB / 0.7666 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.6302, allocations: 1.281 MB / 0.7679 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003916/0.6341, allocations: 1.931 MB / 0.7698 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009448/0.6351, allocations: 188 kB / 0.7699 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.6374, allocations: 0.7176 MB / 0.7706 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002216/0.6396, allocations: 1.403 MB / 0.772 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002926/0.6426, allocations: 1.405 MB / 0.7734 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.6499, allocations: 6.051 MB / 0.7793 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.65, allocations: 0 / 0.7793 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.955e-06/0.65, allocations: 0 / 0.7793 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002242/0.6502, allocations: 0 / 0.7793 GB, free: 7.34 MB / 0.5919 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.007463/0.6577, allocations: 2.479 MB / 0.7817 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6578, allocations: 8.031 kB / 0.7817 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006055/0.6638, allocations: 1.145 MB / 0.7828 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/0.669, allocations: 1.6 MB / 0.7844 GB, free: 2 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/0.6694, allocations: 222.4 kB / 0.7846 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.671, allocations: 296.3 kB / 0.7849 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01407/0.685, allocations: 5.308 MB / 0.7901 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/0.6852, allocations: 3.938 kB / 0.7901 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/0.6855, allocations: 120 kB / 0.7902 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002576/0.6858, allocations: 205.1 kB / 0.7904 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008559/0.6943, allocations: 4.767 MB / 0.7951 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03028/0.7247, allocations: 23.21 MB / 0.8177 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005589/0.7303, allocations: 3.192 MB / 0.8208 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/0.732, allocations: 0.9173 MB / 0.8217 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.7323, allocations: 105.7 kB / 0.8218 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.675e-05/0.7324, allocations: 47.16 kB / 0.8219 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 4.438e-06/0.7324, allocations: 0 / 0.8219 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.004119/0.7365, allocations: 2.09 MB / 0.8239 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.7367, allocations: 218.3 kB / 0.8241 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.7387, allocations: 1.102 MB / 0.8252 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/0.7388, allocations: 41.7 kB / 0.8252 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/0.74, allocations: 1.285 MB / 0.8265 GB, free: 4.129 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000383/0.7404, allocations: 295.9 kB / 0.8268 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.7406, allocations: 129.6 kB / 0.8269 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.7408, allocations: 341.9 kB / 0.8272 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/0.7423, allocations: 0.9016 MB / 0.8281 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.7441, allocations: 1.507 MB / 0.8296 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.7473, allocations: 2.366 MB / 0.8319 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/0.7474, allocations: 8 kB / 0.8319 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004105/0.7515, allocations: 2.504 MB / 0.8343 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005651/0.7521, allocations: 0.6441 MB / 0.835 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-05/0.7521, allocations: 16 kB / 0.835 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-05/0.7522, allocations: 35.92 kB / 0.835 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.7539, allocations: 463.2 kB / 0.8355 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-05/0.7539, allocations: 43.84 kB / 0.8355 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.7558, allocations: 349.8 kB / 0.8358 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.756, allocations: 79.97 kB / 0.8359 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.756, allocations: 4 kB / 0.8359 GB, free: 9.645 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003505/0.7595, allocations: 2.229 MB / 0.8381 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-05/0.7596, allocations: 20 kB / 0.8381 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.7596, allocations: 28 kB / 0.8381 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.761, allocations: 443.8 kB / 0.8386 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.624e-05/0.7611, allocations: 39.86 kB / 0.8386 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7624, allocations: 246.6 kB / 0.8388 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.7626, allocations: 80.05 kB / 0.8389 GB, free: 6.574 MB / 0.6544 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.002151/0.7648, allocations: 1.277 MB / 0.8402 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004024/0.7652, allocations: 106.9 kB / 0.8403 GB, free: 5.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.7678, allocations: 1.564 MB / 0.8418 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.7678, allocations: 12 kB / 0.8418 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.7678, allocations: 0 / 0.8418 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.7679, allocations: 7.984 kB / 0.8418 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008267/0.7761, allocations: 4.506 MB / 0.8462 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.7762, allocations: 0 / 0.8462 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.7772, allocations: 251.6 kB / 0.8465 GB, free: 14.71 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.619e-05/0.7773, allocations: 4 kB / 0.8465 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.7773, allocations: 16 kB / 0.8465 GB, free: 14.69 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/0.7774, allocations: 11.98 kB / 0.8465 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.7774, allocations: 0 / 0.8465 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.7797, allocations: 1.923 MB / 0.8484 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.7805, allocations: 363.5 kB / 0.8487 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002727/0.7808, allocations: 16 kB / 0.8487 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.7819, allocations: 123.8 kB / 0.8488 GB, free: 12.22 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.782, allocations: 64.45 kB / 0.8489 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.7821, allocations: 20 kB / 0.8489 GB, free: 12.14 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00141/0.7835, allocations: 0.7995 MB / 0.8497 GB, free: 11.35 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7835, allocations: 0 / 0.8497 GB, free: 11.35 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004334/0.7879, allocations: 1.298 MB / 0.851 GB, free: 10.04 MB / 0.67 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.0002394/0.7881, allocations: 127.1 kB / 0.8511 GB, free: 9.91 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004923/0.7931, allocations: 2.99 MB / 0.854 GB, free: 6.926 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.7931, allocations: 0 / 0.854 GB, free: 6.926 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009341/0.794, allocations: 0.6609 MB / 0.8547 GB, free: 6.262 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.7958, allocations: 184 kB / 0.8548 GB, free: 6.082 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.8069, allocations: 5.798 MB / 0.8605 GB, free: 240 kB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/0.8102, allocations: 2.206 MB / 0.8627 GB, free: 14 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002827/0.8131, allocations: 1.097 MB / 0.8637 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.8136, allocations: 95.41 kB / 0.8638 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/0.8136, allocations: 4 kB / 0.8638 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.02889/0.8425, allocations: 15.05 MB / 0.8785 GB, free: 13.86 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: