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.001164/0.001164, allocations: 104.1 kB / 16.27 MB, free: 5.98 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.001192/0.001192, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.467/1.467, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.823/1.823, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001631/0.001632, allocations: 71.02 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2418, allocations: 114.5 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.4651/0.707, allocations: 17.18 MB / 0.8008 GB, free: 41.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009042/0.7161, allocations: 5.887 MB / 0.8066 GB, free: 37.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.718, allocations: 56.62 kB / 0.8066 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.7217, allocations: 1.292 MB / 0.8079 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002828/0.7245, allocations: 0.8316 MB / 0.8087 GB, free: 36.06 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00399/0.7285, allocations: 1.34 MB / 0.81 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006441/0.735, allocations: 4.29 MB / 0.8142 GB, free: 33.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01175/0.7468, allocations: 6.909 MB / 0.8209 GB, free: 31.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.751, allocations: 1.909 MB / 0.8228 GB, free: 30.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005088/0.7561, allocations: 2.28 MB / 0.825 GB, free: 29.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002158/0.7583, allocations: 446.1 kB / 0.8254 GB, free: 29.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.7621, allocations: 0.8506 MB / 0.8263 GB, free: 29.03 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004248/0.7664, allocations: 1.722 MB / 0.828 GB, free: 28.33 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005729/0.7722, allocations: 1.753 MB / 0.8297 GB, free: 27.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.7846, allocations: 6.339 MB / 0.8359 GB, free: 25.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.7846, allocations: 1.25 kB / 0.8359 GB, free: 25.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7846, allocations: 0 / 0.8359 GB, free: 25.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002596/0.7849, allocations: 0 / 0.8359 GB, free: 25.25 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.01413/0.799, allocations: 3.065 MB / 0.8389 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7991, allocations: 9 kB / 0.8389 GB, free: 23.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007776/0.8069, allocations: 1.122 MB / 0.84 GB, free: 23.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.8116, allocations: 1.599 MB / 0.8415 GB, free: 22.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003942/0.812, allocations: 223.7 kB / 0.8417 GB, free: 22.38 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.8142, allocations: 290.7 kB / 0.842 GB, free: 22.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/0.8322, allocations: 5.309 MB / 0.8472 GB, free: 19.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.8325, allocations: 7.031 kB / 0.8472 GB, free: 19.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/0.8344, allocations: 122 kB / 0.8473 GB, free: 19.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003652/0.8348, allocations: 209.5 kB / 0.8475 GB, free: 19.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.8471, allocations: 4.757 MB / 0.8522 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03307/0.8802, allocations: 23.19 MB / 0.8748 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004961/0.8852, allocations: 3.187 MB / 0.8779 GB, free: 8.43 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/0.8867, allocations: 0.9141 MB / 0.8788 GB, free: 7.496 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.887, allocations: 101.7 kB / 0.8789 GB, free: 7.375 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/0.887, allocations: 55.16 kB / 0.879 GB, free: 7.312 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.527e-06/0.887, allocations: 0 / 0.879 GB, free: 7.312 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003727/0.8908, allocations: 2.07 MB / 0.881 GB, free: 5.234 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.8909, allocations: 227 kB / 0.8812 GB, free: 4.961 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.8928, allocations: 1.094 MB / 0.8823 GB, free: 3.859 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.893, allocations: 41.7 kB / 0.8823 GB, free: 3.812 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/0.894, allocations: 1.281 MB / 0.8836 GB, free: 2.512 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004498/0.8944, allocations: 303.9 kB / 0.8838 GB, free: 2.211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006992/0.8952, allocations: 356.9 kB / 0.8842 GB, free: 1.855 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8953, allocations: 337.9 kB / 0.8845 GB, free: 1.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.8967, allocations: 0.8986 MB / 0.8854 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.8986, allocations: 1.507 MB / 0.8869 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.9016, allocations: 2.362 MB / 0.8892 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/0.9017, allocations: 4 kB / 0.8892 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004293/0.906, allocations: 2.492 MB / 0.8916 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.9061, allocations: 15.94 kB / 0.8916 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-05/0.9061, allocations: 20 kB / 0.8916 GB, free: 9.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-05/0.9062, allocations: 28 kB / 0.8917 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001799/0.908, allocations: 455.2 kB / 0.8921 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.784e-05/0.9081, allocations: 39.86 kB / 0.8921 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002134/0.9102, allocations: 350.1 kB / 0.8925 GB, free: 8.809 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002577/0.9105, allocations: 83.97 kB / 0.8926 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004109/0.9146, allocations: 1.901 MB / 0.8944 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001784/0.9165, allocations: 1.438 MB / 0.8958 GB, free: 5.094 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002937/0.9194, allocations: 2.202 MB / 0.898 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.068e-05/0.9194, allocations: 8 kB / 0.898 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004305/0.9238, allocations: 2.324 MB / 0.9002 GB, free: 292 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.9238, allocations: 13 kB / 0.9003 GB, free: 280 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.785e-05/0.9239, allocations: 25.97 kB / 0.9003 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.9239, allocations: 31.98 kB / 0.9003 GB, free: 224 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/0.9255, allocations: 439.2 kB / 0.9007 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-05/0.9256, allocations: 39.86 kB / 0.9008 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.9276, allocations: 286.6 kB / 0.901 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.9279, allocations: 79.98 kB / 0.9011 GB, free: 15.39 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.0005741/0.9285, allocations: 295.6 kB / 0.9014 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004803/0.9289, allocations: 98.78 kB / 0.9015 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.9318, allocations: 1.552 MB / 0.903 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.9318, allocations: 12 kB / 0.903 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.9318, allocations: 0 / 0.903 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.9318, allocations: 11.92 kB / 0.903 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009614/0.9415, allocations: 4.49 MB / 0.9074 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.9415, allocations: 0 / 0.9074 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.9426, allocations: 251.6 kB / 0.9077 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.9426, allocations: 4 kB / 0.9077 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.792e-05/0.9427, allocations: 19.98 kB / 0.9077 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.9427, allocations: 7.938 kB / 0.9077 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9427, allocations: 0 / 0.9077 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.9453, allocations: 1.911 MB / 0.9096 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.946, allocations: 323.6 kB / 0.9099 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/0.9464, allocations: 18.53 kB / 0.9099 GB, free: 6.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.9475, allocations: 119.8 kB / 0.91 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.9477, allocations: 60.47 kB / 0.91 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.9477, allocations: 23.98 kB / 0.9101 GB, free: 6.035 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001484/0.9492, allocations: 0.7996 MB / 0.9109 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9492, allocations: 0 / 0.9109 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004945/0.9542, allocations: 1.305 MB / 0.9121 GB, free: 3.926 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.0003569/0.9546, allocations: 123.1 kB / 0.9122 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006347/0.9609, allocations: 3.472 MB / 0.9156 GB, free: 336 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.961, allocations: 4.062 kB / 0.9156 GB, free: 332 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.962, allocations: 0.6593 MB / 0.9163 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.964, allocations: 199.7 kB / 0.9165 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.9751, allocations: 5.043 MB / 0.9214 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003547/0.9787, allocations: 2.281 MB / 0.9236 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/0.9794, allocations: 107.4 kB / 0.9237 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.9794, allocations: 0 / 0.9237 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.04749/1.027, allocations: 28.58 MB / 0.9516 GB, free: 11.5 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)