Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, 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.002351/0.002351, allocations: 194.2 kB / 16.14 MB, free: 6.695 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.482/1.482, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002302/0.002302, allocations: 64.22 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3831, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02151/0.4047, allocations: 16.32 MB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.4164, allocations: 5.751 MB / 1.089 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.4183, allocations: 35.94 kB / 1.089 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004643/0.423, allocations: 1.451 MB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.4259, allocations: 0.7787 MB / 1.091 GB, free: 2.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.4292, allocations: 0.9514 MB / 1.092 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006724/0.4359, allocations: 6.039 MB / 1.098 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.4464, allocations: 6.332 MB / 1.104 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/0.4495, allocations: 1.453 MB / 1.106 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.4537, allocations: 2.151 MB / 1.108 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001488/0.4552, allocations: 292 kB / 1.108 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003244/0.4585, allocations: 1.104 MB / 1.109 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002805/0.4613, allocations: 1.536 MB / 1.111 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003769/0.4651, allocations: 1.471 MB / 1.112 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008362/0.4735, allocations: 5.976 MB / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.4735, allocations: 0 / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.428e-06/0.4736, allocations: 0 / 1.118 GB, free: 6.988 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002124/0.4738, allocations: 3.938 kB / 1.118 GB, free: 6.984 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.008563/0.4823, allocations: 2.767 MB / 1.121 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4824, allocations: 8.031 kB / 1.121 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/0.4863, allocations: 0.6652 MB / 1.121 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.4895, allocations: 1.427 MB / 1.123 GB, free: 2.008 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.4897, allocations: 206 kB / 1.123 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009497/0.4906, allocations: 268.4 kB / 1.123 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.5022, allocations: 4.727 MB / 1.128 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.758e-05/0.5023, allocations: 3.938 kB / 1.128 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008329/0.5031, allocations: 108 kB / 1.128 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000198/0.5034, allocations: 148.6 kB / 1.128 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008505/0.5119, allocations: 4.089 MB / 1.132 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02821/0.5401, allocations: 20.28 MB / 1.152 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003522/0.5437, allocations: 1.901 MB / 1.154 GB, free: 68 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.545, allocations: 0.7587 MB / 1.154 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.5452, allocations: 113.7 kB / 1.155 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.5452, allocations: 43.22 kB / 1.155 GB, free: 15.11 MB / 0.92 GB Notification: Performance of pre-optimization done (n=77): time 4.299e-06/0.5453, allocations: 3.938 kB / 1.155 GB, free: 15.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=92): time 0.01973/0.565, allocations: 5.185 MB / 1.16 GB, free: 9.91 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.5651, allocations: 137.5 kB / 1.16 GB, free: 9.746 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.5667, allocations: 0.9723 MB / 1.161 GB, free: 8.762 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/0.5668, allocations: 41.7 kB / 1.161 GB, free: 8.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008065/0.5676, allocations: 1.187 MB / 1.162 GB, free: 7.508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.568, allocations: 331.4 kB / 1.162 GB, free: 7.18 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/0.5686, allocations: 359.1 kB / 1.163 GB, free: 6.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5688, allocations: 334 kB / 1.163 GB, free: 6.492 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.5702, allocations: 0.8753 MB / 1.164 GB, free: 5.613 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.5722, allocations: 1.506 MB / 1.165 GB, free: 3.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.5755, allocations: 2.457 MB / 1.168 GB, free: 1.062 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/0.5755, allocations: 8 kB / 1.168 GB, free: 1.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004121/0.5796, allocations: 2.511 MB / 1.17 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.5797, allocations: 13 kB / 1.17 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/0.5797, allocations: 20 kB / 1.17 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.694e-05/0.5798, allocations: 36 kB / 1.17 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002485/0.5823, allocations: 0.5186 MB / 1.171 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.113e-05/0.5824, allocations: 43.86 kB / 1.171 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.5837, allocations: 155.6 kB / 1.171 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.5839, allocations: 87.98 kB / 1.171 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003097/0.587, allocations: 1.897 MB / 1.173 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001774/0.5888, allocations: 1.499 MB / 1.174 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003205/0.592, allocations: 2.434 MB / 1.177 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.009e-05/0.592, allocations: 8 kB / 1.177 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.004134/0.5962, allocations: 2.484 MB / 1.179 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.5962, allocations: 20.19 kB / 1.179 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/0.5962, allocations: 20 kB / 1.179 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.5963, allocations: 32 kB / 1.179 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002392/0.5987, allocations: 0.507 MB / 1.18 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.705e-05/0.5987, allocations: 51.78 kB / 1.18 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5999, allocations: 143.7 kB / 1.18 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.6, allocations: 91.97 kB / 1.18 GB, free: 3.891 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0004196/0.6004, allocations: 291.5 kB / 1.18 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.6007, allocations: 94.88 kB / 1.18 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.6036, allocations: 1.836 MB / 1.182 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6036, allocations: 8 kB / 1.182 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6037, allocations: 0 / 1.182 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.6037, allocations: 7.984 kB / 1.182 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.6158, allocations: 9.05 MB / 1.191 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/0.6159, allocations: 12 kB / 1.191 GB, free: 7.539 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6171, allocations: 243.6 kB / 1.191 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-05/0.6171, allocations: 15.98 kB / 1.191 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.6172, allocations: 35.98 kB / 1.191 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.83e-05/0.6172, allocations: 19.94 kB / 1.191 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.73e-05/0.6173, allocations: 23.88 kB / 1.191 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.6195, allocations: 1.774 MB / 1.193 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/0.62, allocations: 284 kB / 1.193 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/0.6203, allocations: 28 kB / 1.193 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008623/0.6212, allocations: 79.89 kB / 1.193 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.6213, allocations: 91.61 kB / 1.193 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.6214, allocations: 32 kB / 1.193 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001156/0.6226, allocations: 0.7254 MB / 1.194 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6226, allocations: 4 kB / 1.194 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003302/0.6259, allocations: 0.8086 MB / 1.195 GB, free: 3.215 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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.0003426/0.6262, allocations: 170.8 kB / 1.195 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00472/0.631, allocations: 2.971 MB / 1.198 GB, free: 80 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.631, allocations: 4.5 kB / 1.198 GB, free: 76 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008795/0.6319, allocations: 0.5798 MB / 1.199 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.6335, allocations: 170.3 kB / 1.199 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.6441, allocations: 5.553 MB / 1.204 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003122/0.6473, allocations: 2.105 MB / 1.206 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003063/0.6504, allocations: 1.027 MB / 1.207 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004683/0.6509, allocations: 95.42 kB / 1.207 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of SimCode: time 1.192e-06/0.6509, allocations: 0 / 1.207 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of Templates: time 0.03025/0.6811, allocations: 14.21 MB / 1.221 GB, free: 8.199 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)