Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 89.97 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.00858/0.00858, allocations: 176.2 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.818/2.818, allocations: 473.4 MB / 0.7469 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 11.73 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.044/0.3641, allocations: 36.03 MB / 1.109 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02424/0.3884, allocations: 13.64 MB / 1.123 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004169/0.3926, allocations: 95.62 kB / 1.123 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.3952, allocations: 0.5934 MB / 1.123 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005335/0.4005, allocations: 1.358 MB / 1.125 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006425/0.407, allocations: 1.937 MB / 1.127 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01121/0.4182, allocations: 9.581 MB / 1.136 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0211/0.4394, allocations: 11.93 MB / 1.148 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.4433, allocations: 1.825 MB / 1.149 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004966/0.4483, allocations: 2.714 MB / 1.152 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.4495, allocations: 252 kB / 1.152 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.4524, allocations: 1.08 MB / 1.153 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003193/0.4556, allocations: 1.996 MB / 1.155 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004421/0.4601, allocations: 2.019 MB / 1.157 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01331/0.4734, allocations: 8.699 MB / 1.166 GB, free: 9.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.4735, allocations: 0 / 1.166 GB, free: 9.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.487e-06/0.4735, allocations: 0 / 1.166 GB, free: 9.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003062/0.4738, allocations: 4 kB / 1.166 GB, free: 9.457 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.009891/0.4837, allocations: 3.405 MB / 1.169 GB, free: 5.984 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4838, allocations: 8.031 kB / 1.169 GB, free: 5.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005907/0.4897, allocations: 1.034 MB / 1.17 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005667/0.4954, allocations: 2.191 MB / 1.172 GB, free: 2.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005765/0.496, allocations: 325 kB / 1.172 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.4978, allocations: 436.2 kB / 1.173 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/0.5186, allocations: 7.408 MB / 1.18 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.5189, allocations: 11.88 kB / 1.18 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007053/0.5196, allocations: 188 kB / 1.18 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003876/0.52, allocations: 282.9 kB / 1.181 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.533, allocations: 6.034 MB / 1.186 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05183/0.5849, allocations: 32.71 MB / 1.218 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.5895, allocations: 2.142 MB / 1.221 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.5916, allocations: 1.248 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.5919, allocations: 114.1 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/0.5919, allocations: 43.56 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 4.338e-06/0.5919, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.01181/0.6038, allocations: 5.278 MB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.6039, allocations: 145.5 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.6066, allocations: 1.472 MB / 1.229 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002394/0.6069, allocations: 45.7 kB / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.6084, allocations: 1.871 MB / 1.23 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.6089, allocations: 374.8 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.6092, allocations: 169.8 kB / 1.231 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6094, allocations: 301.1 kB / 1.231 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002115/0.6115, allocations: 1.14 MB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003093/0.6146, allocations: 2.215 MB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005158/0.6198, allocations: 3.438 MB / 1.238 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/0.6198, allocations: 8 kB / 1.238 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006506/0.6263, allocations: 3.374 MB / 1.241 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001409/0.6277, allocations: 1.09 MB / 1.242 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.571e-05/0.6278, allocations: 40 kB / 1.242 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.06e-05/0.6279, allocations: 48 kB / 1.242 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/0.6304, allocations: 0.6278 MB / 1.243 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-05/0.6305, allocations: 67.72 kB / 1.243 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/0.633, allocations: 334.6 kB / 1.243 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.6333, allocations: 116 kB / 1.243 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.6333, allocations: 4 kB / 1.243 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005213/0.6385, allocations: 2.804 MB / 1.246 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.6386, allocations: 39.94 kB / 1.246 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.379e-05/0.6387, allocations: 48 kB / 1.246 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.6407, allocations: 0.5658 MB / 1.247 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.335e-05/0.6408, allocations: 71.78 kB / 1.247 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.6427, allocations: 227.1 kB / 1.247 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.6429, allocations: 123.9 kB / 1.247 GB, free: 0.9961 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.672/1.315, allocations: 1.701 MB / 1.249 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000628/1.316, allocations: 154.8 kB / 1.249 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/1.32, allocations: 2.258 MB / 1.251 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/1.32, allocations: 11.16 kB / 1.251 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.32, allocations: 2.25 kB / 1.251 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/1.32, allocations: 11.17 kB / 1.251 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/1.337, allocations: 10.99 MB / 1.262 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/1.337, allocations: 12.3 kB / 1.262 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.339, allocations: 387.3 kB / 1.262 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/1.339, allocations: 18.69 kB / 1.262 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.115e-05/1.339, allocations: 31.3 kB / 1.262 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.397e-05/1.339, allocations: 23.36 kB / 1.262 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.339, allocations: 15.72 kB / 1.262 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/1.343, allocations: 2.765 MB / 1.265 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/1.344, allocations: 476.1 kB / 1.266 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/1.344, allocations: 33.19 kB / 1.266 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.346, allocations: 172.8 kB / 1.266 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/1.346, allocations: 106.5 kB / 1.266 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.364e-05/1.346, allocations: 44.61 kB / 1.266 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001983/1.348, allocations: 1.008 MB / 1.267 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.348, allocations: 0 / 1.267 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005477/1.353, allocations: 1.132 MB / 1.268 GB, free: 157.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.0003352/1.354, allocations: 145.8 kB / 1.268 GB, free: 157 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007294/1.361, allocations: 4.041 MB / 1.272 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/1.361, allocations: 1.375 kB / 1.272 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00181/1.363, allocations: 1.062 MB / 1.273 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/1.368, allocations: 418.3 kB / 1.274 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.391, allocations: 8.805 MB / 1.282 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006765/1.398, allocations: 2.871 MB / 1.285 GB, free: 149 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006008/1.404, allocations: 1.22 MB / 1.286 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009662/1.405, allocations: 121.1 kB / 1.286 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.405, allocations: 4 kB / 1.286 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06102/1.466, allocations: 24.19 MB / 1.31 GB, free: 136.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)