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.00112/0.00112, allocations: 106.9 kB / 16.35 MB, free: 5.879 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.001087/0.001087, allocations: 191 kB / 17.29 MB, free: 5.516 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.403/1.403, 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.51 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.00142/0.00142, allocations: 74.22 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2263, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.4158/0.6421, allocations: 16.37 MB / 0.8008 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008056/0.6502, allocations: 5.746 MB / 0.8064 GB, free: 37.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.6523, allocations: 47.75 kB / 0.8064 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00454/0.6569, allocations: 1.53 MB / 0.8079 GB, free: 36.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.6596, allocations: 0.8288 MB / 0.8087 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002797/0.6624, allocations: 1.058 MB / 0.8098 GB, free: 35.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005589/0.668, allocations: 3.907 MB / 0.8136 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007921/0.676, allocations: 5.66 MB / 0.8191 GB, free: 32.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.6795, allocations: 1.747 MB / 0.8208 GB, free: 31.24 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.6833, allocations: 2.096 MB / 0.8229 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.6845, allocations: 417.6 kB / 0.8233 GB, free: 30.34 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.688, allocations: 1.059 MB / 0.8243 GB, free: 30.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002654/0.6906, allocations: 1.653 MB / 0.8259 GB, free: 29.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002604/0.6932, allocations: 1.604 MB / 0.8275 GB, free: 28.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.7037, allocations: 6.051 MB / 0.8334 GB, free: 26.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.7038, allocations: 0.7031 kB / 0.8334 GB, free: 26.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.625e-06/0.7038, allocations: 0.5625 kB / 0.8334 GB, free: 26.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002005/0.704, allocations: 0 / 0.8334 GB, free: 26.57 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.007986/0.712, allocations: 2.775 MB / 0.8361 GB, free: 24.98 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.712, allocations: 8.938 kB / 0.8361 GB, free: 24.98 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/0.7157, allocations: 0.6596 MB / 0.8367 GB, free: 24.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.7188, allocations: 1.421 MB / 0.8381 GB, free: 24.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.719, allocations: 210.9 kB / 0.8383 GB, free: 23.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005154/0.7195, allocations: 274.8 kB / 0.8386 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009094/0.7286, allocations: 4.715 MB / 0.8432 GB, free: 21.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.742e-05/0.7287, allocations: 9.078 kB / 0.8432 GB, free: 21.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003523/0.7291, allocations: 116.1 kB / 0.8433 GB, free: 21.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/0.7293, allocations: 150.4 kB / 0.8435 GB, free: 21.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/0.736, allocations: 4.091 MB / 0.8475 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02255/0.7586, allocations: 20.12 MB / 0.8671 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.7619, allocations: 1.908 MB / 0.869 GB, free: 92 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.763, allocations: 0.7678 MB / 0.8697 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.7632, allocations: 104.2 kB / 0.8698 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.7633, allocations: 43.75 kB / 0.8699 GB, free: 15.53 MB / 0.67 GB Notification: Performance of pre-optimization done (n=77): time 3.025e-06/0.7633, allocations: 0 / 0.8699 GB, free: 15.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=92): time 0.01841/0.7817, allocations: 5.178 MB / 0.8749 GB, free: 11.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/0.7818, allocations: 145.5 kB / 0.8751 GB, free: 11.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.7831, allocations: 0.9685 MB / 0.876 GB, free: 10.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.19e-05/0.7832, allocations: 41.7 kB / 0.876 GB, free: 10.72 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007563/0.784, allocations: 1.187 MB / 0.8772 GB, free: 9.512 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.7843, allocations: 331.5 kB / 0.8775 GB, free: 9.184 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005344/0.7848, allocations: 359 kB / 0.8779 GB, free: 8.828 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.785, allocations: 330 kB / 0.8782 GB, free: 8.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.7862, allocations: 0.8725 MB / 0.879 GB, free: 7.625 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.788, allocations: 1.514 MB / 0.8805 GB, free: 5.82 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.791, allocations: 2.453 MB / 0.8829 GB, free: 3.066 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.791, allocations: 8 kB / 0.8829 GB, free: 3.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003757/0.7948, allocations: 2.508 MB / 0.8854 GB, free: 0.543 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.7948, allocations: 16 kB / 0.8854 GB, free: 0.5273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.7949, allocations: 20 kB / 0.8854 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.939e-05/0.7949, allocations: 32 kB / 0.8854 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.7974, allocations: 0.5148 MB / 0.8859 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.756e-05/0.7974, allocations: 47.8 kB / 0.886 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.7985, allocations: 147.7 kB / 0.8861 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.7987, allocations: 91.97 kB / 0.8862 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002783/0.8015, allocations: 1.905 MB / 0.8881 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001649/0.8031, allocations: 1.503 MB / 0.8895 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002923/0.8061, allocations: 2.426 MB / 0.8919 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.017e-05/0.8061, allocations: 4 kB / 0.8919 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003653/0.8097, allocations: 2.496 MB / 0.8943 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.8098, allocations: 16.78 kB / 0.8943 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.8098, allocations: 20 kB / 0.8944 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.8098, allocations: 32 kB / 0.8944 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.8122, allocations: 0.5074 MB / 0.8949 GB, free: 6.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.466e-05/0.8122, allocations: 51.8 kB / 0.8949 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.8133, allocations: 139.8 kB / 0.8951 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.8135, allocations: 83.98 kB / 0.8952 GB, free: 5.902 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.0004676/0.814, allocations: 299.5 kB / 0.8954 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.8142, allocations: 94.88 kB / 0.8955 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/0.8171, allocations: 1.833 MB / 0.8973 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.8171, allocations: 12 kB / 0.8973 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.8171, allocations: 3.984 kB / 0.8973 GB, free: 3.609 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.8171, allocations: 3.984 kB / 0.8973 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.8291, allocations: 9.031 MB / 0.9062 GB, free: 9.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-05/0.8292, allocations: 12.03 kB / 0.9062 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.8303, allocations: 259.5 kB / 0.9064 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.8303, allocations: 15.94 kB / 0.9064 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-05/0.8304, allocations: 32 kB / 0.9065 GB, free: 9.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.805e-05/0.8304, allocations: 19.92 kB / 0.9065 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.8304, allocations: 19.88 kB / 0.9065 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.8326, allocations: 1.775 MB / 0.9082 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005473/0.8332, allocations: 287.9 kB / 0.9085 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.8334, allocations: 27.98 kB / 0.9085 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007065/0.8341, allocations: 75.91 kB / 0.9086 GB, free: 6.891 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.8342, allocations: 91.61 kB / 0.9087 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-05/0.8343, allocations: 35.98 kB / 0.9087 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001046/0.8354, allocations: 0.7254 MB / 0.9094 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8354, allocations: 0 / 0.9094 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003536/0.8389, allocations: 0.8086 MB / 0.9102 GB, free: 5.238 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.0003737/0.8393, allocations: 174.8 kB / 0.9104 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00484/0.8441, allocations: 2.99 MB / 0.9133 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.8442, allocations: 0.9375 kB / 0.9133 GB, free: 2.074 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008988/0.8451, allocations: 0.5836 MB / 0.9139 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.8467, allocations: 173.5 kB / 0.9141 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0082/0.8549, allocations: 4.402 MB / 0.9184 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/0.8571, allocations: 2.101 MB / 0.9204 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002516/0.8597, allocations: 1.023 MB / 0.9214 GB, free: 9.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003449/0.86, allocations: 99.41 kB / 0.9215 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of SimCode: time 1.683e-06/0.86, allocations: 3.938 kB / 0.9215 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.02774/0.8878, allocations: 14.68 MB / 0.9358 GB, free: 10.92 MB / 0.7325 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)