Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001331/0.001331, allocations: 102.4 kB / 16.29 MB, free: 6.117 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.001446/0.001446, allocations: 190.1 kB / 17.22 MB, free: 5.734 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.47/1.47, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.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.813/1.813, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001586/0.001586, allocations: 64.47 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2759, allocations: 114.6 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.4492/0.7252, allocations: 17.17 MB / 0.8009 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009336/0.7345, allocations: 5.882 MB / 0.8066 GB, free: 37.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.7365, allocations: 56.06 kB / 0.8067 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003635/0.7401, allocations: 1.299 MB / 0.8079 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.7427, allocations: 0.8309 MB / 0.8087 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.7462, allocations: 1.334 MB / 0.81 GB, free: 35.35 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006037/0.7523, allocations: 4.287 MB / 0.8142 GB, free: 33.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008573/0.7609, allocations: 6.913 MB / 0.821 GB, free: 31.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003807/0.7647, allocations: 1.914 MB / 0.8228 GB, free: 30.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004453/0.7692, allocations: 2.28 MB / 0.8251 GB, free: 29.2 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001698/0.7709, allocations: 446.6 kB / 0.8255 GB, free: 29.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.774, allocations: 0.85 MB / 0.8263 GB, free: 29.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002815/0.7768, allocations: 1.716 MB / 0.828 GB, free: 28.36 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003982/0.7808, allocations: 1.756 MB / 0.8297 GB, free: 27.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.7922, allocations: 6.378 MB / 0.8359 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.7923, allocations: 0 / 0.8359 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.805e-06/0.7923, allocations: 0.6094 kB / 0.8359 GB, free: 25.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002637/0.7926, allocations: 1.469 kB / 0.8359 GB, free: 25.26 MB / 0.6544 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.01178/0.8044, allocations: 3.08 MB / 0.839 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.8044, allocations: 10.03 kB / 0.839 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005888/0.8103, allocations: 1.118 MB / 0.8401 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/0.8144, allocations: 1.603 MB / 0.8416 GB, free: 22.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.8147, allocations: 224.2 kB / 0.8418 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.8158, allocations: 293.8 kB / 0.8421 GB, free: 22.28 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.8278, allocations: 5.306 MB / 0.8473 GB, free: 19.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.942e-05/0.828, allocations: 5.625 kB / 0.8473 GB, free: 19.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007516/0.8287, allocations: 123 kB / 0.8474 GB, free: 19.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003175/0.8291, allocations: 205 kB / 0.8476 GB, free: 19.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.8392, allocations: 4.758 MB / 0.8523 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03912/0.8784, allocations: 23 MB / 0.8747 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006553/0.885, allocations: 3.183 MB / 0.8778 GB, free: 8.402 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001826/0.8868, allocations: 0.918 MB / 0.8787 GB, free: 7.465 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000222/0.8871, allocations: 101.7 kB / 0.8788 GB, free: 7.344 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.8871, allocations: 51.16 kB / 0.8789 GB, free: 7.285 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/0.8872, allocations: 0 / 0.8789 GB, free: 7.285 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.00507/0.8922, allocations: 2.073 MB / 0.8809 GB, free: 5.203 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.8924, allocations: 222.3 kB / 0.8811 GB, free: 4.934 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.8948, allocations: 1.095 MB / 0.8822 GB, free: 3.832 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.895, allocations: 41.7 kB / 0.8822 GB, free: 3.785 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008515/0.8958, allocations: 1.285 MB / 0.8835 GB, free: 2.48 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.8962, allocations: 307.8 kB / 0.8838 GB, free: 2.176 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007353/0.8969, allocations: 353.1 kB / 0.8841 GB, free: 1.824 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8971, allocations: 341.9 kB / 0.8844 GB, free: 1.484 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.8983, allocations: 0.8947 MB / 0.8853 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.9001, allocations: 1.515 MB / 0.8868 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.9031, allocations: 2.354 MB / 0.8891 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.9031, allocations: 4 kB / 0.8891 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003872/0.907, allocations: 2.492 MB / 0.8915 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.907, allocations: 12.16 kB / 0.8915 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.9071, allocations: 28.06 kB / 0.8916 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-05/0.9071, allocations: 28 kB / 0.8916 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.9087, allocations: 459.2 kB / 0.892 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.371e-05/0.9088, allocations: 39.86 kB / 0.8921 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.9104, allocations: 345.8 kB / 0.8924 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.9105, allocations: 79.98 kB / 0.8925 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003002/0.9136, allocations: 1.901 MB / 0.8943 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0016/0.9152, allocations: 1.446 MB / 0.8957 GB, free: 5.059 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002745/0.9179, allocations: 2.19 MB / 0.8979 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.081e-05/0.918, allocations: 8 kB / 0.8979 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.00373/0.9217, allocations: 2.327 MB / 0.9002 GB, free: 264 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.9217, allocations: 12 kB / 0.9002 GB, free: 252 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/0.9218, allocations: 20 kB / 0.9002 GB, free: 232 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.9218, allocations: 34.56 kB / 0.9002 GB, free: 200 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.9233, allocations: 443.2 kB / 0.9006 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.775e-05/0.9233, allocations: 43.86 kB / 0.9007 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.9249, allocations: 286.5 kB / 0.901 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.9251, allocations: 75.98 kB / 0.901 GB, free: 15.36 MB / 0.7012 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.0004851/0.9256, allocations: 287.6 kB / 0.9013 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.926, allocations: 98.78 kB / 0.9014 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.9285, allocations: 1.56 MB / 0.9029 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.9286, allocations: 12 kB / 0.9029 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.9286, allocations: 0 / 0.9029 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.9286, allocations: 15.91 kB / 0.903 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007715/0.9363, allocations: 4.474 MB / 0.9073 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.9364, allocations: 0 / 0.9073 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000935/0.9373, allocations: 251.6 kB / 0.9076 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.9373, allocations: 4 kB / 0.9076 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.9374, allocations: 16 kB / 0.9076 GB, free: 8.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.9374, allocations: 4 kB / 0.9076 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9374, allocations: 4 kB / 0.9076 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.9396, allocations: 1.915 MB / 0.9095 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.9402, allocations: 323.7 kB / 0.9098 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.9405, allocations: 21.88 kB / 0.9098 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009944/0.9415, allocations: 119.8 kB / 0.9099 GB, free: 6.094 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.9416, allocations: 52.47 kB / 0.91 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.9417, allocations: 24 kB / 0.91 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001291/0.943, allocations: 0.8035 MB / 0.9108 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.943, allocations: 0 / 0.9108 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00346/0.9465, allocations: 1.309 MB / 0.912 GB, free: 3.902 MB / 0.7012 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.0001953/0.9467, allocations: 119.1 kB / 0.9122 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004325/0.951, allocations: 2.987 MB / 0.9151 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.951, allocations: 0 / 0.9151 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008396/0.9519, allocations: 0.6561 MB / 0.9157 GB, free: 140 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.9534, allocations: 207.4 kB / 0.9159 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/0.9622, allocations: 4.494 MB / 0.9203 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/0.9646, allocations: 2.206 MB / 0.9224 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002477/0.9671, allocations: 1.101 MB / 0.9235 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.9674, allocations: 91.42 kB / 0.9236 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of SimCode: time 1.162e-06/0.9675, allocations: 0 / 0.9236 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.02703/0.9945, allocations: 15.85 MB / 0.9391 GB, free: 8.27 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)