Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001216/0.001216, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 193.7 kB / 16.53 MB, free: 6.691 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.64 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3113, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04231/0.3537, allocations: 37.26 MB / 1.105 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02394/0.3776, allocations: 13.72 MB / 1.118 GB, free: 7.305 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00479/0.3825, allocations: 111.7 kB / 1.118 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.006492/0.389, allocations: 2.27 MB / 1.12 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004864/0.3939, allocations: 1.435 MB / 1.122 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.009339/0.4033, allocations: 3.527 MB / 1.125 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008353/0.4117, allocations: 6.375 MB / 1.131 GB, free: 9.555 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01525/0.427, allocations: 10.02 MB / 1.141 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005263/0.4323, allocations: 2.731 MB / 1.144 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005544/0.4379, allocations: 3.206 MB / 1.147 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002189/0.4401, allocations: 0.625 MB / 1.148 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.444, allocations: 1.252 MB / 1.149 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004017/0.448, allocations: 2.476 MB / 1.151 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004875/0.4529, allocations: 2.549 MB / 1.154 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00864/0.4616, allocations: 9.1 MB / 1.163 GB, free: 9.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4616, allocations: 0 / 1.163 GB, free: 9.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4617, allocations: 0 / 1.163 GB, free: 9.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001991/0.4619, allocations: 0 / 1.163 GB, free: 9.41 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.009138/0.471, allocations: 4.31 MB / 1.167 GB, free: 5.031 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4711, allocations: 8.031 kB / 1.167 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/0.4762, allocations: 1.038 MB / 1.168 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/0.4806, allocations: 2.179 MB / 1.17 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002608/0.4809, allocations: 329 kB / 1.17 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.482, allocations: 428.2 kB / 1.171 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.4971, allocations: 7.416 MB / 1.178 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.4972, allocations: 15.88 kB / 1.178 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005825/0.4978, allocations: 180 kB / 1.178 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003169/0.4981, allocations: 290.9 kB / 1.178 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/0.5106, allocations: 6.022 MB / 1.184 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03971/0.5504, allocations: 32.71 MB / 1.216 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.5538, allocations: 2.15 MB / 1.218 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001685/0.5555, allocations: 1.249 MB / 1.22 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.5556, allocations: 102 kB / 1.22 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5557, allocations: 51.56 kB / 1.22 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 2.755e-06/0.5557, allocations: 0 / 1.22 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.007893/0.5636, allocations: 5.274 MB / 1.225 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.5637, allocations: 145.5 kB / 1.225 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/0.5656, allocations: 1.468 MB / 1.226 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.5658, allocations: 41.7 kB / 1.226 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/0.5669, allocations: 1.863 MB / 1.228 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.5672, allocations: 386.7 kB / 1.229 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006843/0.5679, allocations: 459.1 kB / 1.229 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.568, allocations: 301.1 kB / 1.229 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/0.5698, allocations: 1.145 MB / 1.23 GB, free: 488 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/0.5723, allocations: 2.215 MB / 1.233 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004175/0.5764, allocations: 3.438 MB / 1.236 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/0.5765, allocations: 8 kB / 1.236 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005428/0.5819, allocations: 3.371 MB / 1.239 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.582, allocations: 16 kB / 1.239 GB, free: 6.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.552e-05/0.582, allocations: 36 kB / 1.239 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.271e-05/0.5821, allocations: 48 kB / 1.239 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.5843, allocations: 0.6355 MB / 1.24 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-05/0.5844, allocations: 67.94 kB / 1.24 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002101/0.5865, allocations: 330.7 kB / 1.24 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.5867, allocations: 116 kB / 1.24 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003588/0.5903, allocations: 2.428 MB / 1.243 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002144/0.5925, allocations: 2.043 MB / 1.245 GB, free: 188 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6076/1.2, allocations: 3.061 MB / 1.248 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.311e-05/1.2, allocations: 11.25 kB / 1.248 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.006144/1.206, allocations: 2.974 MB / 1.251 GB, free: 163 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.005e-05/1.206, allocations: 23.12 kB / 1.251 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.641e-05/1.206, allocations: 35.72 kB / 1.251 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.031e-05/1.207, allocations: 48.75 kB / 1.251 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/1.209, allocations: 0.5655 MB / 1.251 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.724e-05/1.209, allocations: 74.75 kB / 1.251 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/1.211, allocations: 261.5 kB / 1.252 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.211, allocations: 114.7 kB / 1.252 GB, free: 162.9 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.0005377/1.212, allocations: 346.4 kB / 1.252 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00034/1.212, allocations: 153.6 kB / 1.252 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/1.215, allocations: 2.249 MB / 1.254 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.215, allocations: 16.31 kB / 1.255 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.215, allocations: 0 / 1.255 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.215, allocations: 8.656 kB / 1.255 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.232, allocations: 10.99 MB / 1.265 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/1.232, allocations: 16.47 kB / 1.265 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.234, allocations: 392.2 kB / 1.266 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/1.234, allocations: 16.94 kB / 1.266 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/1.234, allocations: 29.91 kB / 1.266 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.031e-05/1.234, allocations: 23.39 kB / 1.266 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.247e-05/1.234, allocations: 21.31 kB / 1.266 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/1.237, allocations: 2.756 MB / 1.268 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007886/1.238, allocations: 454.8 kB / 1.269 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/1.238, allocations: 38.77 kB / 1.269 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.24, allocations: 179.8 kB / 1.269 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/1.24, allocations: 102.3 kB / 1.269 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.577e-05/1.24, allocations: 39.02 kB / 1.269 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001652/1.242, allocations: 1.008 MB / 1.27 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.242, allocations: 0 / 1.27 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004247/1.246, allocations: 1.133 MB / 1.271 GB, free: 156.3 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.0002538/1.246, allocations: 149.6 kB / 1.271 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007574/1.254, allocations: 4.299 MB / 1.276 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.911e-05/1.254, allocations: 1.5 kB / 1.276 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.255, allocations: 1.061 MB / 1.277 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/1.258, allocations: 451.8 kB / 1.277 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/1.271, allocations: 7.081 MB / 1.284 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/1.273, allocations: 2.867 MB / 1.287 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003052/1.277, allocations: 1.222 MB / 1.288 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/1.277, allocations: 122 kB / 1.288 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.232e-06/1.277, allocations: 3.844 kB / 1.288 GB, free: 149.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03937/1.316, allocations: 25.38 MB / 1.313 GB, free: 132.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)