Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007489/0.007489, allocations: 98.39 kB / 15.73 MB, free: 5.535 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.001344/0.001345, allocations: 185 kB / 16.67 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.566/1.566, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 63.91 kB / 0.7258 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8581/0.8598, allocations: 104.7 MB / 0.828 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004149/0.8639, allocations: 2.819 MB / 0.8308 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.8671, allocations: 2.058 MB / 0.8328 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.8672, allocations: 0 / 0.8328 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.868, allocations: 235 kB / 0.833 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.8685, allocations: 195.1 kB / 0.8332 GB, free: 13.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.8691, allocations: 271.2 kB / 0.8335 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.8695, allocations: 315.1 kB / 0.8338 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.8698, allocations: 161.4 kB / 0.8339 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.87, allocations: 119.6 kB / 0.834 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.8703, allocations: 159.5 kB / 0.8342 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.8703, allocations: 16 kB / 0.8342 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005077/0.8708, allocations: 387.3 kB / 0.8346 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.8709, allocations: 91.77 kB / 0.8346 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.8711, allocations: 119.4 kB / 0.8348 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.8717, allocations: 457.1 kB / 0.8352 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.8717, allocations: 7.938 kB / 0.8352 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.365e-06/0.8717, allocations: 0 / 0.8352 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.8717, allocations: 0 / 0.8352 GB, free: 11.26 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001154/0.8729, allocations: 0.5459 MB / 0.8357 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.873, allocations: 12.03 kB / 0.8357 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.8738, allocations: 104.5 kB / 0.8358 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.8742, allocations: 266.7 kB / 0.8361 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.8742, allocations: 12.81 kB / 0.8361 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.8743, allocations: 20.12 kB / 0.8361 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.875, allocations: 385.9 kB / 0.8365 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.8751, allocations: 3.938 kB / 0.8365 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.8751, allocations: 11.98 kB / 0.8365 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.617e-05/0.8752, allocations: 23.98 kB / 0.8365 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.8758, allocations: 363.7 kB / 0.8369 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.8778, allocations: 1.73 MB / 0.8386 GB, free: 7.547 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/0.8784, allocations: 348.9 kB / 0.8389 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.8787, allocations: 185.6 kB / 0.8391 GB, free: 7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.8789, allocations: 85.11 kB / 0.8392 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.879, allocations: 46.48 kB / 0.8392 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.094e-06/0.879, allocations: 0 / 0.8392 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=35): time 0.007324/0.8863, allocations: 1.902 MB / 0.8411 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.8864, allocations: 85.09 kB / 0.8411 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.8866, allocations: 186.9 kB / 0.8413 GB, free: 4.641 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.8867, allocations: 33.7 kB / 0.8414 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.8868, allocations: 140.4 kB / 0.8415 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.8869, allocations: 122.2 kB / 0.8416 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.8871, allocations: 89.56 kB / 0.8417 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8872, allocations: 330.8 kB / 0.842 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.8877, allocations: 252.7 kB / 0.8422 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.8883, allocations: 337.5 kB / 0.8426 GB, free: 3.301 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.8894, allocations: 0.5933 MB / 0.8432 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.8894, allocations: 7.938 kB / 0.8432 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001213/0.8906, allocations: 0.6339 MB / 0.8438 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.8906, allocations: 8 kB / 0.8438 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.8906, allocations: 4.281 kB / 0.8438 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.8907, allocations: 8 kB / 0.8438 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009253/0.8916, allocations: 155.7 kB / 0.8439 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.8916, allocations: 4 kB / 0.8439 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.892, allocations: 47.92 kB / 0.844 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.8921, allocations: 16 kB / 0.844 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005751/0.8927, allocations: 356 kB / 0.8443 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005298/0.8932, allocations: 329.9 kB / 0.8447 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009581/0.8942, allocations: 0.5746 MB / 0.8452 GB, free: 492 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/0.8942, allocations: 3.984 kB / 0.8452 GB, free: 488 kB / 0.6387 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001161/0.8954, allocations: 0.6103 MB / 0.8458 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.8954, allocations: 8 kB / 0.8458 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-06/0.8954, allocations: 0 / 0.8458 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.8954, allocations: 4 kB / 0.8458 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.8962, allocations: 143.8 kB / 0.846 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.8962, allocations: 7.938 kB / 0.846 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.8966, allocations: 52.11 kB / 0.846 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.8967, allocations: 16 kB / 0.846 GB, free: 15.63 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0002468/0.8969, allocations: 208 kB / 0.8462 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.165e-05/0.897, allocations: 23.72 kB / 0.8463 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.8984, allocations: 0.6571 MB / 0.8469 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.8984, allocations: 4 kB / 0.8469 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8985, allocations: 7.984 kB / 0.8469 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.922e-06/0.8985, allocations: 0 / 0.8469 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.9008, allocations: 1.369 MB / 0.8483 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.9008, allocations: 8.25 kB / 0.8483 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.9014, allocations: 115.8 kB / 0.8484 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.9014, allocations: 7.938 kB / 0.8484 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.9014, allocations: 16 kB / 0.8484 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.9014, allocations: 3.938 kB / 0.8484 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.9014, allocations: 7.938 kB / 0.8484 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.9025, allocations: 0.7066 MB / 0.8491 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.9026, allocations: 140.8 kB / 0.8492 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.9027, allocations: 19.89 kB / 0.8493 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.903, allocations: 39.89 kB / 0.8493 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.9032, allocations: 27.91 kB / 0.8493 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.9032, allocations: 12 kB / 0.8493 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001557/0.9034, allocations: 148.6 kB / 0.8495 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9034, allocations: 0 / 0.8495 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000721/0.9041, allocations: 148 kB / 0.8496 GB, free: 11.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.0003135/0.9044, allocations: 139.2 kB / 0.8497 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.9061, allocations: 0.8442 MB / 0.8506 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.9061, allocations: 0 / 0.8506 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.9066, allocations: 253.5 kB / 0.8508 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.9072, allocations: 51.23 kB / 0.8509 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.9085, allocations: 0.7048 MB / 0.8515 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003966/0.909, allocations: 0.776 MB / 0.8523 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004486/0.9094, allocations: 178.8 kB / 0.8525 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.9096, allocations: 35.36 kB / 0.8525 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/0.9096, allocations: 3.938 kB / 0.8525 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of Templates: time 0.009245/0.9188, allocations: 4.875 MB / 0.8573 GB, free: 3.941 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)