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.001365/0.001365, allocations: 108.5 kB / 16.37 MB, free: 6.465 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.001572/0.001572, allocations: 189.8 kB / 17.31 MB, free: 5.809 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.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.755/1.755, allocations: 292.3 MB / 0.5496 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.001449/0.001449, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2464, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.3806/0.627, allocations: 17.18 MB / 0.8016 GB, free: 41.09 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008736/0.6358, allocations: 5.894 MB / 0.8073 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.6369, allocations: 53 kB / 0.8074 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.64, allocations: 1.292 MB / 0.8086 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001864/0.6419, allocations: 0.8369 MB / 0.8095 GB, free: 35.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.645, allocations: 1.33 MB / 0.8108 GB, free: 35.14 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004967/0.65, allocations: 4.288 MB / 0.8149 GB, free: 33.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007661/0.6577, allocations: 6.911 MB / 0.8217 GB, free: 30.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.6609, allocations: 1.914 MB / 0.8236 GB, free: 29.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.6643, allocations: 2.288 MB / 0.8258 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0008085/0.6651, allocations: 446.1 kB / 0.8262 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.6669, allocations: 0.8515 MB / 0.8271 GB, free: 28.82 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001754/0.6687, allocations: 1.711 MB / 0.8287 GB, free: 28.13 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.6705, allocations: 1.762 MB / 0.8304 GB, free: 26.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007285/0.6778, allocations: 6.373 MB / 0.8367 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6778, allocations: 0 / 0.8367 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6778, allocations: 2.031 kB / 0.8367 GB, free: 25.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001647/0.678, allocations: 0 / 0.8367 GB, free: 25.04 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.00761/0.6856, allocations: 3.079 MB / 0.8397 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6857, allocations: 10 kB / 0.8397 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005415/0.6911, allocations: 1.12 MB / 0.8408 GB, free: 23.12 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.6942, allocations: 1.634 MB / 0.8424 GB, free: 22.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.6943, allocations: 224 kB / 0.8426 GB, free: 22.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000517/0.6948, allocations: 289.9 kB / 0.8429 GB, free: 22.05 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00856/0.7034, allocations: 5.31 MB / 0.8481 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/0.7035, allocations: 2.062 kB / 0.8481 GB, free: 19.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/0.7039, allocations: 130 kB / 0.8482 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002298/0.7041, allocations: 210.4 kB / 0.8484 GB, free: 18.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006997/0.7111, allocations: 4.753 MB / 0.853 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02353/0.7347, allocations: 23 MB / 0.8755 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.7392, allocations: 3.183 MB / 0.8786 GB, free: 7.844 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.7405, allocations: 0.914 MB / 0.8795 GB, free: 6.91 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.7407, allocations: 113.7 kB / 0.8796 GB, free: 6.777 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.7408, allocations: 51.14 kB / 0.8796 GB, free: 6.719 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.856e-06/0.7408, allocations: 0 / 0.8796 GB, free: 6.719 MB / 0.67 GB Notification: Performance of matching and sorting (n=82): time 0.003235/0.744, allocations: 2.078 MB / 0.8817 GB, free: 4.633 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.7441, allocations: 214.3 kB / 0.8819 GB, free: 4.371 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.7456, allocations: 1.094 MB / 0.8829 GB, free: 3.27 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.049e-05/0.7457, allocations: 41.7 kB / 0.883 GB, free: 3.223 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007761/0.7465, allocations: 1.281 MB / 0.8842 GB, free: 1.922 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.7468, allocations: 308 kB / 0.8845 GB, free: 1.617 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005222/0.7473, allocations: 351.1 kB / 0.8849 GB, free: 1.266 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.7474, allocations: 341.9 kB / 0.8852 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.7487, allocations: 0.8986 MB / 0.8861 GB, free: 24 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/0.7504, allocations: 1.511 MB / 0.8875 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.7532, allocations: 2.358 MB / 0.8898 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.7532, allocations: 5.938 kB / 0.8898 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003712/0.7569, allocations: 2.491 MB / 0.8923 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.757, allocations: 12 kB / 0.8923 GB, free: 9.098 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/0.757, allocations: 20.81 kB / 0.8923 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.424e-05/0.7571, allocations: 28 kB / 0.8923 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.7586, allocations: 463.2 kB / 0.8928 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.653e-05/0.7587, allocations: 43.84 kB / 0.8928 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.7603, allocations: 345.7 kB / 0.8932 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.7604, allocations: 79.97 kB / 0.8932 GB, free: 8.137 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002991/0.7634, allocations: 1.901 MB / 0.8951 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001637/0.7651, allocations: 1.438 MB / 0.8965 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002615/0.7677, allocations: 2.206 MB / 0.8986 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.847e-06/0.7677, allocations: 4 kB / 0.8986 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003829/0.7715, allocations: 2.336 MB / 0.9009 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.7716, allocations: 12 kB / 0.9009 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.7716, allocations: 23.94 kB / 0.901 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.7716, allocations: 28 kB / 0.901 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.7731, allocations: 431.3 kB / 0.9014 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.342e-05/0.7731, allocations: 48.3 kB / 0.9014 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.7747, allocations: 278.6 kB / 0.9017 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.7748, allocations: 85.95 kB / 0.9018 GB, free: 14.79 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.0003824/0.7752, allocations: 283.6 kB / 0.9021 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/0.7755, allocations: 102.8 kB / 0.9022 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.7778, allocations: 1.56 MB / 0.9037 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.7778, allocations: 8 kB / 0.9037 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.7778, allocations: 4 kB / 0.9037 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.7778, allocations: 7.922 kB / 0.9037 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/0.7845, allocations: 4.473 MB / 0.9081 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.7846, allocations: 4 kB / 0.9081 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.7856, allocations: 247.6 kB / 0.9083 GB, free: 7.977 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.7856, allocations: 4 kB / 0.9083 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.7857, allocations: 15.98 kB / 0.9083 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.7857, allocations: 8 kB / 0.9083 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7857, allocations: 0 / 0.9083 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.7879, allocations: 1.916 MB / 0.9102 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005434/0.7884, allocations: 319.7 kB / 0.9105 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7886, allocations: 19.91 kB / 0.9105 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/0.7895, allocations: 119.8 kB / 0.9107 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.7896, allocations: 56.52 kB / 0.9107 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.7897, allocations: 20 kB / 0.9107 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001035/0.7907, allocations: 0.8035 MB / 0.9115 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7907, allocations: 1.219 kB / 0.9115 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003432/0.7942, allocations: 1.305 MB / 0.9128 GB, free: 3.352 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.0002294/0.7944, allocations: 127.8 kB / 0.9129 GB, free: 3.219 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004367/0.7988, allocations: 2.982 MB / 0.9158 GB, free: 240 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/0.7988, allocations: 0 / 0.9158 GB, free: 240 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.7997, allocations: 0.6569 MB / 0.9165 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.8013, allocations: 197.5 kB / 0.9166 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009094/0.8104, allocations: 4.996 MB / 0.9215 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/0.8126, allocations: 2.281 MB / 0.9238 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/0.8131, allocations: 111.4 kB / 0.9239 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/0.8131, allocations: 0 / 0.9239 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.03952/0.8527, allocations: 28.58 MB / 0.9518 GB, free: 11.46 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)