Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009694/0.0009695, allocations: 91.45 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.008236/0.008236, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.614/1.614, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.851/2.851, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004126, allocations: 13.95 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3502, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01807/0.3683, allocations: 16.03 MB / 1.09 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.3795, allocations: 6.399 MB / 1.096 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.3809, allocations: 43.88 kB / 1.096 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.3818, allocations: 313.7 kB / 1.096 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00219/0.384, allocations: 0.8215 MB / 1.097 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.3868, allocations: 1.067 MB / 1.098 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006006/0.3928, allocations: 5.789 MB / 1.104 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009203/0.402, allocations: 6.147 MB / 1.11 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.4044, allocations: 1.125 MB / 1.111 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003102/0.4075, allocations: 1.725 MB / 1.113 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004619/0.408, allocations: 164 kB / 1.113 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.4097, allocations: 0.7643 MB / 1.114 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.411, allocations: 1.228 MB / 1.115 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001535/0.4126, allocations: 1.246 MB / 1.116 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006216/0.4188, allocations: 5.292 MB / 1.121 GB, free: 7.152 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4189, allocations: 3.938 kB / 1.121 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.615e-06/0.4189, allocations: 0 / 1.121 GB, free: 7.148 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001534/0.419, allocations: 4 kB / 1.121 GB, free: 7.145 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.004989/0.424, allocations: 2.207 MB / 1.123 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4241, allocations: 12.03 kB / 1.123 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005215/0.4293, allocations: 0.9227 MB / 1.124 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.4323, allocations: 1.411 MB / 1.126 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.4325, allocations: 193.5 kB / 1.126 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006367/0.4331, allocations: 248.4 kB / 1.126 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008568/0.4417, allocations: 4.658 MB / 1.131 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.049e-05/0.4418, allocations: 11.84 kB / 1.131 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003097/0.4421, allocations: 119.9 kB / 1.131 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002089/0.4423, allocations: 172.3 kB / 1.131 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006969/0.4493, allocations: 3.933 MB / 1.135 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02395/0.4733, allocations: 21.55 MB / 1.156 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.476, allocations: 2.253 MB / 1.158 GB, free: 14.96 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.477, allocations: 0.7132 MB / 1.159 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.4771, allocations: 15.84 kB / 1.159 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.4771, allocations: 50.48 kB / 1.159 GB, free: 14.15 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 3.206e-06/0.4771, allocations: 4 kB / 1.159 GB, free: 14.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.005881/0.483, allocations: 4.191 MB / 1.163 GB, free: 9.906 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.4832, allocations: 244.4 kB / 1.163 GB, free: 9.613 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.4851, allocations: 1.166 MB / 1.164 GB, free: 8.422 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.4852, allocations: 45.64 kB / 1.164 GB, free: 8.371 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008073/0.486, allocations: 1.183 MB / 1.165 GB, free: 7.168 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.4863, allocations: 260.6 kB / 1.166 GB, free: 6.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.4865, allocations: 125.6 kB / 1.166 GB, free: 6.781 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4866, allocations: 345.9 kB / 1.166 GB, free: 6.438 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.488, allocations: 0.7455 MB / 1.167 GB, free: 5.691 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.4899, allocations: 1.442 MB / 1.168 GB, free: 3.914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/0.4927, allocations: 2.197 MB / 1.17 GB, free: 1.387 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.4927, allocations: 8 kB / 1.17 GB, free: 1.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003902/0.4966, allocations: 2.27 MB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005936/0.4972, allocations: 0.7822 MB / 1.173 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.4973, allocations: 20 kB / 1.173 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.433e-05/0.4973, allocations: 40 kB / 1.173 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.4991, allocations: 447.2 kB / 1.174 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.723e-05/0.4991, allocations: 47.8 kB / 1.174 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.501, allocations: 227.4 kB / 1.174 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.5012, allocations: 83.98 kB / 1.174 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.5012, allocations: 8 kB / 1.174 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003333/0.5045, allocations: 1.937 MB / 1.176 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.5046, allocations: 24 kB / 1.176 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/0.5046, allocations: 36 kB / 1.176 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.5061, allocations: 407.9 kB / 1.177 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.056e-05/0.5061, allocations: 55.77 kB / 1.177 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.5075, allocations: 155.5 kB / 1.177 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.5076, allocations: 83.98 kB / 1.177 GB, free: 10.45 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (192): * Single equations (assignments): 192 * 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.002008/0.5096, allocations: 1.14 MB / 1.178 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/0.51, allocations: 98.78 kB / 1.178 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001722/0.5117, allocations: 1.089 MB / 1.179 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.5117, allocations: 15.88 kB / 1.179 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.5118, allocations: 8 kB / 1.179 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.5118, allocations: 3.984 kB / 1.179 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.5255, allocations: 10.21 MB / 1.189 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.5255, allocations: 16 kB / 1.189 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.5262, allocations: 187.7 kB / 1.189 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/0.5263, allocations: 23.94 kB / 1.189 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.5263, allocations: 40 kB / 1.189 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/0.5264, allocations: 39.73 kB / 1.189 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.072e-05/0.5264, allocations: 23.92 kB / 1.189 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.5287, allocations: 2.174 MB / 1.192 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/0.5293, allocations: 351.5 kB / 1.192 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.5295, allocations: 28 kB / 1.192 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.5307, allocations: 111.8 kB / 1.192 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.5308, allocations: 103.5 kB / 1.192 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.5309, allocations: 40 kB / 1.192 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001351/0.5323, allocations: 0.8088 MB / 1.193 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5323, allocations: 0 / 1.193 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003034/0.5353, allocations: 0.7383 MB / 1.194 GB, free: 8.688 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 (74): * Single equations (assignments): 74 * 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.0002427/0.5356, allocations: 154.9 kB / 1.194 GB, free: 8.523 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004353/0.5399, allocations: 2.561 MB / 1.196 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/0.54, allocations: 4 kB / 1.196 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.5408, allocations: 0.5742 MB / 1.197 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.5448, allocations: 247 kB / 1.197 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008295/0.5531, allocations: 5.504 MB / 1.202 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.5554, allocations: 2.011 MB / 1.204 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002479/0.5579, allocations: 0.8794 MB / 1.205 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.5582, allocations: 91.41 kB / 1.205 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of SimCode: time 1.102e-06/0.5582, allocations: 0 / 1.205 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of Templates: time 0.02644/0.5847, allocations: 14.47 MB / 1.219 GB, free: 14.01 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)