Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001343/0.00135, allocations: 106.8 kB / 16.36 MB, free: 6.355 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.001293/0.001293, allocations: 191 kB / 17.3 MB, free: 5.891 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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.002195/0.002196, allocations: 71.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2385, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.4754/0.7139, allocations: 16.38 MB / 0.8008 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00922/0.7231, allocations: 5.748 MB / 0.8064 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001508/0.7247, allocations: 44.25 kB / 0.8064 GB, free: 37.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004289/0.729, allocations: 1.533 MB / 0.8079 GB, free: 36.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.732, allocations: 0.8239 MB / 0.8087 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.7354, allocations: 1.058 MB / 0.8098 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005955/0.7414, allocations: 3.908 MB / 0.8136 GB, free: 34.1 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008279/0.7497, allocations: 5.66 MB / 0.8191 GB, free: 32.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003894/0.7536, allocations: 1.744 MB / 0.8208 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004522/0.7582, allocations: 2.096 MB / 0.8229 GB, free: 30.42 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.7592, allocations: 416 kB / 0.8233 GB, free: 30.42 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.7621, allocations: 1.063 MB / 0.8243 GB, free: 30.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002577/0.7647, allocations: 1.653 MB / 0.8259 GB, free: 29.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002942/0.7677, allocations: 1.608 MB / 0.8275 GB, free: 28.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009242/0.7769, allocations: 6.051 MB / 0.8334 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.777, allocations: 1.281 kB / 0.8334 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.485e-06/0.777, allocations: 0 / 0.8334 GB, free: 26.65 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002174/0.7772, allocations: 0 / 0.8334 GB, free: 26.65 MB / 0.6544 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.009355/0.7866, allocations: 2.771 MB / 0.8361 GB, free: 25.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.7866, allocations: 11.42 kB / 0.8361 GB, free: 25.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/0.7905, allocations: 0.6637 MB / 0.8368 GB, free: 24.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003398/0.7939, allocations: 1.437 MB / 0.8382 GB, free: 24.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.7941, allocations: 205 kB / 0.8384 GB, free: 24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006579/0.7948, allocations: 271.4 kB / 0.8386 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01074/0.8055, allocations: 4.726 MB / 0.8432 GB, free: 21.8 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.8056, allocations: 5.234 kB / 0.8432 GB, free: 21.8 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003632/0.806, allocations: 120.5 kB / 0.8434 GB, free: 21.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.8062, allocations: 149.2 kB / 0.8435 GB, free: 21.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008007/0.8142, allocations: 4.087 MB / 0.8475 GB, free: 19.57 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.8413, allocations: 20.12 MB / 0.8671 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003606/0.845, allocations: 1.911 MB / 0.869 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.8463, allocations: 0.7648 MB / 0.8697 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.8465, allocations: 105.8 kB / 0.8698 GB, free: 15.62 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.8466, allocations: 42.28 kB / 0.8699 GB, free: 15.58 MB / 0.67 GB Notification: Performance of pre-optimization done (n=77): time 2.926e-06/0.8466, allocations: 5.125 kB / 0.8699 GB, free: 15.57 MB / 0.67 GB Notification: Performance of matching and sorting (n=92): time 0.02102/0.8676, allocations: 5.17 MB / 0.8749 GB, free: 11.93 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.8678, allocations: 137.5 kB / 0.8751 GB, free: 11.76 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.8693, allocations: 0.9763 MB / 0.876 GB, free: 10.78 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.8694, allocations: 41.8 kB / 0.8761 GB, free: 10.73 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008309/0.8703, allocations: 1.191 MB / 0.8772 GB, free: 9.52 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004031/0.8707, allocations: 327.4 kB / 0.8775 GB, free: 9.195 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006301/0.8713, allocations: 363 kB / 0.8779 GB, free: 8.836 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8715, allocations: 333.9 kB / 0.8782 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.8728, allocations: 0.8753 MB / 0.8791 GB, free: 7.625 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/0.8746, allocations: 1.514 MB / 0.8805 GB, free: 5.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.8776, allocations: 2.453 MB / 0.8829 GB, free: 3.066 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.8776, allocations: 11.94 kB / 0.8829 GB, free: 3.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003725/0.8813, allocations: 2.504 MB / 0.8854 GB, free: 0.543 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.8814, allocations: 16 kB / 0.8854 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/0.8814, allocations: 20 kB / 0.8854 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.47e-05/0.8815, allocations: 32 kB / 0.8855 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.8838, allocations: 0.5153 MB / 0.886 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.476e-05/0.8839, allocations: 47.86 kB / 0.886 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.8851, allocations: 147.6 kB / 0.8861 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.8852, allocations: 91.98 kB / 0.8862 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002969/0.8882, allocations: 1.901 MB / 0.8881 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00168/0.8899, allocations: 1.503 MB / 0.8896 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003062/0.893, allocations: 2.43 MB / 0.8919 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.599e-05/0.893, allocations: 4 kB / 0.8919 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003867/0.8969, allocations: 2.492 MB / 0.8944 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.8969, allocations: 16.78 kB / 0.8944 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.049e-05/0.8969, allocations: 20 kB / 0.8944 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.897, allocations: 35.94 kB / 0.8944 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.8994, allocations: 0.5116 MB / 0.8949 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.101e-05/0.8995, allocations: 43.84 kB / 0.895 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.9007, allocations: 139.8 kB / 0.8951 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.9009, allocations: 87.97 kB / 0.8952 GB, free: 5.898 MB / 0.6856 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.0004217/0.9014, allocations: 299.5 kB / 0.8955 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.9017, allocations: 94.88 kB / 0.8956 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002809/0.9045, allocations: 1.829 MB / 0.8974 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.9045, allocations: 8 kB / 0.8974 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.9045, allocations: 7.984 kB / 0.8974 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.9045, allocations: 3.984 kB / 0.8974 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.917, allocations: 9.031 MB / 0.9062 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/0.9171, allocations: 8 kB / 0.9062 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.9183, allocations: 247.6 kB / 0.9064 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/0.9183, allocations: 19.83 kB / 0.9065 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.22e-05/0.9184, allocations: 35.98 kB / 0.9065 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/0.9184, allocations: 19.88 kB / 0.9065 GB, free: 9.254 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/0.9185, allocations: 19.88 kB / 0.9065 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.9208, allocations: 1.772 MB / 0.9083 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.9215, allocations: 295.9 kB / 0.9085 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.9217, allocations: 24 kB / 0.9086 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/0.9225, allocations: 75.89 kB / 0.9086 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.9226, allocations: 95.55 kB / 0.9087 GB, free: 6.809 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.9227, allocations: 36 kB / 0.9088 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001073/0.9238, allocations: 0.7293 MB / 0.9095 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9238, allocations: 0 / 0.9095 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003081/0.9269, allocations: 0.8047 MB / 0.9103 GB, free: 5.246 MB / 0.7012 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.00035/0.9272, allocations: 170.9 kB / 0.9104 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004633/0.9319, allocations: 2.995 MB / 0.9133 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.9319, allocations: 8.062 kB / 0.9134 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/0.9329, allocations: 0.5722 MB / 0.9139 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.9344, allocations: 180 kB / 0.9141 GB, free: 1.336 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008434/0.9428, allocations: 4.869 MB / 0.9188 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/0.9451, allocations: 2.176 MB / 0.921 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006213/0.9458, allocations: 111.4 kB / 0.9211 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of SimCode: time 2.505e-06/0.9458, allocations: 0 / 0.9211 GB, free: 9.961 MB / 0.7169 GB Notification: Performance of Templates: time 0.04283/0.9886, allocations: 26.87 MB / 0.9473 GB, free: 15.14 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)