Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001989/0.001989, allocations: 199.2 kB / 16.14 MB, free: 6.688 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.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.84 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4674, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.0142/0.4817, allocations: 11.06 MB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.4934, allocations: 5.859 MB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.4952, allocations: 43.69 kB / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00479/0.5001, allocations: 1.626 MB / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004122/0.5042, allocations: 1.07 MB / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.507, allocations: 0.7307 MB / 1.087 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004215/0.5112, allocations: 2.856 MB / 1.09 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.5138, allocations: 1.305 MB / 1.091 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.5157, allocations: 0.7585 MB / 1.092 GB, free: 1.496 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.518, allocations: 0.9338 MB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0007136/0.5188, allocations: 84 kB / 1.093 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.523, allocations: 1.454 MB / 1.095 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.5241, allocations: 0.5024 MB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001956/0.5261, allocations: 0.7497 MB / 1.096 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005676/0.5317, allocations: 2.445 MB / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.5318, allocations: 0 / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5318, allocations: 4 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001177/0.5319, allocations: 0 / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.005628/0.5376, allocations: 1.873 MB / 1.1 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.5376, allocations: 8.031 kB / 1.1 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005036/0.5427, allocations: 0.6737 MB / 1.101 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.5454, allocations: 0.9145 MB / 1.102 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.5456, allocations: 98.91 kB / 1.102 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000494/0.5461, allocations: 128.3 kB / 1.102 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004818/0.5509, allocations: 2.206 MB / 1.104 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.391e-05/0.551, allocations: 11.88 kB / 1.104 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.5512, allocations: 63.98 kB / 1.104 GB, free: 5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002532/0.5514, allocations: 158.3 kB / 1.104 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/0.5553, allocations: 1.867 MB / 1.106 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/0.5703, allocations: 12.47 MB / 1.118 GB, free: 5.555 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00447/0.5748, allocations: 1.975 MB / 1.12 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009202/0.5757, allocations: 0.605 MB / 1.121 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.5759, allocations: 98.09 kB / 1.121 GB, free: 2.848 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.576, allocations: 43.56 kB / 1.121 GB, free: 2.797 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=103): time 3.857e-06/0.576, allocations: 4 kB / 1.121 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of matching and sorting (n=110): time 0.006782/0.5828, allocations: 3.714 MB / 1.125 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.5829, allocations: 60.41 kB / 1.125 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.5842, allocations: 0.9281 MB / 1.125 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.5843, allocations: 41.7 kB / 1.126 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005798/0.5849, allocations: 0.7237 MB / 1.126 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.5853, allocations: 394.4 kB / 1.127 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.5857, allocations: 283.2 kB / 1.127 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.5858, allocations: 301.1 kB / 1.127 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.5869, allocations: 0.6207 MB / 1.128 GB, free: 11.53 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.5883, allocations: 1.102 MB / 1.129 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.5909, allocations: 1.835 MB / 1.131 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/0.5909, allocations: 4 kB / 1.131 GB, free: 8.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003775/0.5947, allocations: 2.095 MB / 1.133 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.5947, allocations: 16.91 kB / 1.133 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.5948, allocations: 16 kB / 1.133 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.5957, allocations: 258.7 kB / 1.133 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.5969, allocations: 371.4 kB / 1.133 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00943/0.6064, allocations: 10.76 MB / 1.144 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.608, allocations: 127.8 kB / 1.144 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.6083, allocations: 71.98 kB / 1.144 GB, free: 9.332 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001114/0.6095, allocations: 405.3 kB / 1.144 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004276/0.6099, allocations: 130.4 kB / 1.145 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003313/0.6132, allocations: 1.685 MB / 1.146 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6132, allocations: 8 kB / 1.146 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6133, allocations: 4 kB / 1.146 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.6133, allocations: 7.969 kB / 1.146 GB, free: 7.059 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/0.6193, allocations: 3.303 MB / 1.149 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.6194, allocations: 4 kB / 1.149 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/0.6203, allocations: 219.6 kB / 1.15 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007738/0.6211, allocations: 254.7 kB / 1.15 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.512e-05/0.6212, allocations: 24 kB / 1.15 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00984/0.631, allocations: 10.74 MB / 1.16 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/0.6311, allocations: 7.938 kB / 1.16 GB, free: 7.277 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003158/0.6342, allocations: 1.796 MB / 1.162 GB, free: 5.375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/0.635, allocations: 303.5 kB / 1.162 GB, free: 5.059 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.6354, allocations: 39.89 kB / 1.162 GB, free: 5.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009421/0.6364, allocations: 91.81 kB / 1.163 GB, free: 4.93 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.6366, allocations: 100.7 kB / 1.163 GB, free: 4.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.6367, allocations: 32 kB / 1.163 GB, free: 4.801 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001041/0.6378, allocations: 0.6138 MB / 1.163 GB, free: 4.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 6.02e-07/0.6378, allocations: 0 / 1.163 GB, free: 4.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001857/0.6396, allocations: 396 kB / 1.164 GB, free: 3.793 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003239/0.64, allocations: 147 kB / 1.164 GB, free: 3.637 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004087/0.6441, allocations: 2.485 MB / 1.166 GB, free: 1.047 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6441, allocations: 4.875 kB / 1.166 GB, free: 1.043 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.6463, allocations: 1.625 MB / 1.168 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.6484, allocations: 326 kB / 1.168 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.6544, allocations: 3.38 MB / 1.171 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/0.6557, allocations: 1.339 MB / 1.173 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001173/0.6569, allocations: 367.3 kB / 1.173 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.6573, allocations: 95.42 kB / 1.173 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.6573, allocations: 0 / 1.173 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.03354/0.6908, allocations: 16.44 MB / 1.189 GB, free: 9.398 MB / 0.9512 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)