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.001338/0.001338, allocations: 108 kB / 15.6 MB, free: 132 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.001142/0.001142, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.02 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4019, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.04257/0.4445, allocations: 16.42 MB / 1.084 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01053/0.4551, allocations: 5.723 MB / 1.09 GB, free: 4.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.4567, allocations: 43.94 kB / 1.09 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004349/0.461, allocations: 1.528 MB / 1.091 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.4637, allocations: 0.8325 MB / 1.092 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.4671, allocations: 1.075 MB / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005101/0.4723, allocations: 3.906 MB / 1.097 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00833/0.4806, allocations: 5.669 MB / 1.103 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.4838, allocations: 1.738 MB / 1.104 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/0.4881, allocations: 2.092 MB / 1.106 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001494/0.4897, allocations: 416 kB / 1.107 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.4926, allocations: 1.061 MB / 1.108 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002709/0.4953, allocations: 1.665 MB / 1.109 GB, free: 92 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003836/0.4992, allocations: 1.596 MB / 1.111 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007306/0.5065, allocations: 6.031 MB / 1.117 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5065, allocations: 0 / 1.117 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5065, allocations: 0 / 1.117 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001354/0.5067, allocations: 0 / 1.117 GB, free: 8.441 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.00718/0.5139, allocations: 2.767 MB / 1.119 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5139, allocations: 16.03 kB / 1.12 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/0.5175, allocations: 0.6613 MB / 1.12 GB, free: 4.934 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.5203, allocations: 1.423 MB / 1.122 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.5205, allocations: 206 kB / 1.122 GB, free: 3.266 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007879/0.5213, allocations: 268.4 kB / 1.122 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009606/0.5309, allocations: 4.719 MB / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/0.531, allocations: 0 / 1.127 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000437/0.5314, allocations: 116 kB / 1.127 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.5316, allocations: 156.6 kB / 1.127 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007432/0.5391, allocations: 4.081 MB / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/0.5628, allocations: 20.29 MB / 1.151 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/0.5661, allocations: 1.894 MB / 1.153 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.5672, allocations: 0.7587 MB / 1.153 GB, free: 0.7539 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.5674, allocations: 113.7 kB / 1.153 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.5675, allocations: 39.22 kB / 1.153 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=77): time 2.715e-06/0.5675, allocations: 0 / 1.153 GB, free: 0.5742 MB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.01917/0.5866, allocations: 5.197 MB / 1.158 GB, free: 11.36 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.5867, allocations: 137.5 kB / 1.159 GB, free: 11.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.5881, allocations: 0.9723 MB / 1.16 GB, free: 10.21 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.5882, allocations: 41.7 kB / 1.16 GB, free: 10.17 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007594/0.589, allocations: 1.188 MB / 1.161 GB, free: 8.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.5893, allocations: 335.3 kB / 1.161 GB, free: 8.629 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005687/0.5899, allocations: 355.1 kB / 1.161 GB, free: 8.277 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.59, allocations: 333.9 kB / 1.162 GB, free: 7.945 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.5914, allocations: 0.8753 MB / 1.163 GB, free: 7.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.5932, allocations: 1.51 MB / 1.164 GB, free: 5.266 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003133/0.5964, allocations: 2.457 MB / 1.166 GB, free: 2.516 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.395e-05/0.5964, allocations: 12 kB / 1.166 GB, free: 2.504 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003911/0.6003, allocations: 2.504 MB / 1.169 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.6004, allocations: 17.56 kB / 1.169 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-05/0.6004, allocations: 20 kB / 1.169 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.459e-05/0.6005, allocations: 32 kB / 1.169 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/0.6028, allocations: 0.5109 MB / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.102e-05/0.6029, allocations: 43.86 kB / 1.17 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.6041, allocations: 159.7 kB / 1.17 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001591/0.6042, allocations: 87.97 kB / 1.17 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002922/0.6072, allocations: 1.901 MB / 1.172 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001734/0.6089, allocations: 1.51 MB / 1.173 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002993/0.6119, allocations: 2.426 MB / 1.175 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.792e-05/0.6119, allocations: 4 kB / 1.175 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003738/0.6157, allocations: 2.492 MB / 1.178 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.6157, allocations: 16 kB / 1.178 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.913e-05/0.6158, allocations: 20 kB / 1.178 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.6158, allocations: 32 kB / 1.178 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.6181, allocations: 0.5153 MB / 1.178 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.576e-05/0.6182, allocations: 43.84 kB / 1.179 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6193, allocations: 143.7 kB / 1.179 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.6194, allocations: 87.98 kB / 1.179 GB, free: 5.336 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.0003777/0.6198, allocations: 300.1 kB / 1.179 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.6201, allocations: 86.97 kB / 1.179 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.6229, allocations: 1.833 MB / 1.181 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.287e-05/0.6229, allocations: 12 kB / 1.181 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.6229, allocations: 0 / 1.181 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.623, allocations: 7.984 kB / 1.181 GB, free: 3.051 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.6345, allocations: 9.053 MB / 1.19 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.6345, allocations: 12 kB / 1.19 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.6356, allocations: 244.4 kB / 1.19 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/0.6356, allocations: 16 kB / 1.19 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.358e-05/0.6357, allocations: 35.98 kB / 1.19 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/0.6357, allocations: 23.88 kB / 1.19 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.6358, allocations: 23.88 kB / 1.19 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.6379, allocations: 1.766 MB / 1.192 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005205/0.6384, allocations: 288 kB / 1.192 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.6386, allocations: 35.94 kB / 1.192 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008131/0.6394, allocations: 71.89 kB / 1.192 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.6396, allocations: 99.55 kB / 1.192 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/0.6397, allocations: 40 kB / 1.192 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001045/0.6407, allocations: 0.7254 MB / 1.193 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6408, allocations: 0 / 1.193 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003086/0.6438, allocations: 0.8008 MB / 1.194 GB, free: 4.676 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.0003097/0.6442, allocations: 171.4 kB / 1.194 GB, free: 4.496 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004946/0.6491, allocations: 3.127 MB / 1.197 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.6491, allocations: 4 kB / 1.197 GB, free: 1.375 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.65, allocations: 0.5764 MB / 1.198 GB, free: 0.8008 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.6515, allocations: 180.5 kB / 1.198 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/0.6595, allocations: 4.452 MB / 1.202 GB, free: 12 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.6618, allocations: 2.112 MB / 1.204 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002741/0.6646, allocations: 1.023 MB / 1.205 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.665, allocations: 95.41 kB / 1.205 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of SimCode: time 9.41e-07/0.665, allocations: 0 / 1.205 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of Templates: time 0.0274/0.6924, allocations: 14.67 MB / 1.22 GB, free: 10.15 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)