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.001189/0.001189, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001325/0.001325, allocations: 196.2 kB / 16.26 MB, free: 6.621 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.602/1.602, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.731/1.731, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.001362/0.001362, allocations: 64.38 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2958, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01956/0.3154, allocations: 17.09 MB / 0.7995 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01062/0.3261, allocations: 5.835 MB / 0.8052 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.3282, allocations: 43.88 kB / 0.8053 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00359/0.3319, allocations: 1.204 MB / 0.8065 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002707/0.3347, allocations: 0.763 MB / 0.8072 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003462/0.3381, allocations: 1.242 MB / 0.8084 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005471/0.3436, allocations: 4.299 MB / 0.8126 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01126/0.3549, allocations: 8.131 MB / 0.8206 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.3582, allocations: 1.921 MB / 0.8224 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003981/0.3622, allocations: 2.404 MB / 0.8248 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.3634, allocations: 448 kB / 0.8252 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.3659, allocations: 0.8506 MB / 0.826 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.3681, allocations: 1.716 MB / 0.8277 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.3703, allocations: 1.759 MB / 0.8294 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006371/0.3767, allocations: 6.373 MB / 0.8357 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.3767, allocations: 0 / 0.8357 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3767, allocations: 3.938 kB / 0.8357 GB, free: 7.605 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001773/0.3769, allocations: 4 kB / 0.8357 GB, free: 7.602 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.008032/0.385, allocations: 3.084 MB / 0.8387 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.385, allocations: 8.031 kB / 0.8387 GB, free: 4.449 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005262/0.3903, allocations: 1.113 MB / 0.8398 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.3938, allocations: 1.604 MB / 0.8413 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.394, allocations: 230.3 kB / 0.8416 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/0.3945, allocations: 288.4 kB / 0.8418 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01101/0.4056, allocations: 5.304 MB / 0.847 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.4057, allocations: 3.938 kB / 0.847 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.406, allocations: 120 kB / 0.8471 GB, free: 11.65 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002754/0.4063, allocations: 209.1 kB / 0.8473 GB, free: 11.45 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009128/0.4155, allocations: 4.758 MB / 0.852 GB, free: 6.676 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03532/0.4508, allocations: 23.16 MB / 0.8746 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004654/0.4556, allocations: 3.199 MB / 0.8777 GB, free: 9.801 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.4569, allocations: 0.9172 MB / 0.8786 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.4571, allocations: 105.7 kB / 0.8787 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.4572, allocations: 51.16 kB / 0.8788 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 3.526e-06/0.4572, allocations: 0 / 0.8788 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.003265/0.4605, allocations: 2.074 MB / 0.8808 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.4606, allocations: 223 kB / 0.881 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.4623, allocations: 1.094 MB / 0.8821 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.4624, allocations: 49.64 kB / 0.8821 GB, free: 5.176 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.4634, allocations: 1.285 MB / 0.8834 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/0.4638, allocations: 299.9 kB / 0.8837 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005457/0.4643, allocations: 351.1 kB / 0.884 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4645, allocations: 341.9 kB / 0.8843 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.4658, allocations: 0.8947 MB / 0.8852 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.4676, allocations: 1.507 MB / 0.8867 GB, free: 200 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.4704, allocations: 2.362 MB / 0.889 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.4704, allocations: 4 kB / 0.889 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003802/0.4742, allocations: 2.488 MB / 0.8914 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.4743, allocations: 20.05 kB / 0.8914 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/0.4743, allocations: 20 kB / 0.8914 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/0.4744, allocations: 28 kB / 0.8915 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.4759, allocations: 459.2 kB / 0.8919 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.986e-05/0.476, allocations: 39.86 kB / 0.8919 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.4776, allocations: 349.7 kB / 0.8923 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.4778, allocations: 79.98 kB / 0.8924 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00322/0.481, allocations: 1.901 MB / 0.8942 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001703/0.4827, allocations: 1.438 MB / 0.8956 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002527/0.4853, allocations: 2.202 MB / 0.8978 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.1e-05/0.4853, allocations: 15.92 kB / 0.8978 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003525/0.4888, allocations: 2.327 MB / 0.9001 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.4889, allocations: 12 kB / 0.9001 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.4889, allocations: 20.91 kB / 0.9001 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.156e-05/0.4889, allocations: 28 kB / 0.9001 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.4903, allocations: 447.2 kB / 0.9005 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-05/0.4904, allocations: 39.86 kB / 0.9006 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.4919, allocations: 286.5 kB / 0.9009 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.492, allocations: 75.98 kB / 0.9009 GB, free: 0.75 MB / 0.7169 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.0004935/0.4925, allocations: 283.6 kB / 0.9012 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.4929, allocations: 102.9 kB / 0.9013 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.4954, allocations: 1.552 MB / 0.9028 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.4954, allocations: 12 kB / 0.9028 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.4955, allocations: 7.984 kB / 0.9028 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4955, allocations: 7.922 kB / 0.9028 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/0.5023, allocations: 4.486 MB / 0.9072 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5024, allocations: 4 kB / 0.9072 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009933/0.5034, allocations: 251.6 kB / 0.9075 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.5034, allocations: 4 kB / 0.9075 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/0.5035, allocations: 12 kB / 0.9075 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.5035, allocations: 12 kB / 0.9075 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5035, allocations: 0 / 0.9075 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.5057, allocations: 1.911 MB / 0.9094 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004844/0.5062, allocations: 323.7 kB / 0.9097 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.5064, allocations: 23.84 kB / 0.9097 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/0.5072, allocations: 123.8 kB / 0.9098 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.5074, allocations: 52.47 kB / 0.9099 GB, free: 7.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.199e-05/0.5075, allocations: 28 kB / 0.9099 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001056/0.5085, allocations: 0.8035 MB / 0.9107 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5085, allocations: 0 / 0.9107 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003738/0.5123, allocations: 1.294 MB / 0.9119 GB, free: 5.289 MB / 0.7325 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.0002464/0.5125, allocations: 123.1 kB / 0.912 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005496/0.518, allocations: 3.483 MB / 0.9154 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.518, allocations: 0 / 0.9154 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008623/0.5189, allocations: 0.6641 MB / 0.9161 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.5205, allocations: 196.6 kB / 0.9163 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4192/0.9397, allocations: 5.76 MB / 0.9219 GB, free: 127.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002341/0.9421, allocations: 2.216 MB / 0.9241 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002457/0.9445, allocations: 1.095 MB / 0.9251 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003061/0.9449, allocations: 88.92 kB / 0.9252 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/0.9449, allocations: 0 / 0.9252 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.03239/0.9773, allocations: 15.78 MB / 0.9406 GB, free: 123.3 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)