Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 108 kB / 15.6 MB, free: 128 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.001893/0.001893, allocations: 198.2 kB / 16.53 MB, free: 6.668 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.523/1.523, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.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.717/1.717, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001489/0.001489, allocations: 68.27 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2811, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.02056/0.3017, allocations: 15.71 MB / 0.7987 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3123, allocations: 5.783 MB / 0.8044 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.3141, allocations: 43.94 kB / 0.8044 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.3178, allocations: 1.247 MB / 0.8056 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003041/0.3208, allocations: 0.9998 MB / 0.8066 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002856/0.3237, allocations: 1.009 MB / 0.8076 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004993/0.3287, allocations: 3.987 MB / 0.8115 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006261/0.335, allocations: 5.091 MB / 0.8165 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.3382, allocations: 1.734 MB / 0.8181 GB, free: 9.703 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004363/0.3426, allocations: 2.076 MB / 0.8202 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.3439, allocations: 404 kB / 0.8206 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003042/0.3469, allocations: 1.088 MB / 0.8216 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002354/0.3493, allocations: 1.622 MB / 0.8232 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.3522, allocations: 1.603 MB / 0.8248 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008113/0.3603, allocations: 5.933 MB / 0.8306 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.3604, allocations: 0 / 0.8306 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.879e-06/0.3604, allocations: 3.984 kB / 0.8306 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002229/0.3606, allocations: 4 kB / 0.8306 GB, free: 12.95 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.008654/0.3693, allocations: 2.829 MB / 0.8333 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.3694, allocations: 12.02 kB / 0.8333 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.3806, allocations: 1.983 MB / 0.8353 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.3852, allocations: 1.534 MB / 0.8368 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.3855, allocations: 201.8 kB / 0.837 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.3874, allocations: 268.3 kB / 0.8372 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.4035, allocations: 5.463 MB / 0.8426 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.986e-05/0.4036, allocations: 0 / 0.8426 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.4041, allocations: 112 kB / 0.8427 GB, free: 356 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003493/0.4044, allocations: 192.5 kB / 0.8429 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.4194, allocations: 5.696 MB / 0.8484 GB, free: 10.44 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0303/0.4497, allocations: 21.22 MB / 0.8691 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006307/0.4561, allocations: 2.998 MB / 0.8721 GB, free: 220 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005648/0.4618, allocations: 2.11 MB / 0.8741 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.4621, allocations: 126 kB / 0.8743 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/0.4622, allocations: 55.56 kB / 0.8743 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=139): time 5.35e-06/0.4622, allocations: 0 / 0.8743 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=181): time 0.04007/0.5023, allocations: 12.81 MB / 0.8868 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.5024, allocations: 226.9 kB / 0.887 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.5039, allocations: 0.9804 MB / 0.888 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003378/0.5043, allocations: 57.7 kB / 0.888 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/0.505, allocations: 1.096 MB / 0.8891 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006886/0.5057, allocations: 0.6239 MB / 0.8897 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007664/0.5065, allocations: 472 kB / 0.8902 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5067, allocations: 333.9 kB / 0.8905 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/0.5113, allocations: 1.927 MB / 0.8924 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/0.5164, allocations: 2.501 MB / 0.8948 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.5265, allocations: 4.462 MB / 0.8992 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.407e-05/0.5266, allocations: 4 kB / 0.8992 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01449/0.5411, allocations: 5.52 MB / 0.9046 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/0.5412, allocations: 12 kB / 0.9046 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-05/0.5412, allocations: 16 kB / 0.9046 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/0.5445, allocations: 1.221 MB / 0.9058 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/0.5485, allocations: 0.7487 MB / 0.9065 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/0.5655, allocations: 11.42 MB / 0.9177 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003656/0.5692, allocations: 459.6 kB / 0.9181 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.5514/1.121, allocations: 114.4 kB / 0.9182 GB, free: 127.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007464/1.128, allocations: 2.936 MB / 0.9211 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005226/1.133, allocations: 2.494 MB / 0.9235 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01008/1.143, allocations: 4.432 MB / 0.9278 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.668e-05/1.144, allocations: 10.69 kB / 0.9279 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01367/1.157, allocations: 5.445 MB / 0.9332 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/1.157, allocations: 16.38 kB / 0.9332 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-05/1.157, allocations: 17.97 kB / 0.9332 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/1.16, allocations: 1.126 MB / 0.9343 GB, free: 123 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/1.165, allocations: 0.7469 MB / 0.935 GB, free: 123 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/1.182, allocations: 11.24 MB / 0.946 GB, free: 116.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/1.186, allocations: 443.1 kB / 0.9464 GB, free: 116.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/1.186, allocations: 114 kB / 0.9465 GB, free: 116.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005728/1.186, allocations: 316.1 kB / 0.9468 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000394/1.187, allocations: 124.5 kB / 0.947 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/1.199, allocations: 5.204 MB / 0.952 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/1.199, allocations: 18.66 kB / 0.9521 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/1.199, allocations: 12.28 kB / 0.9521 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/1.199, allocations: 9.609 kB / 0.9521 GB, free: 114.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.216, allocations: 8.867 MB / 0.9607 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/1.216, allocations: 11.91 kB / 0.9608 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.218, allocations: 0.5352 MB / 0.9613 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/1.22, allocations: 0.9707 MB / 0.9622 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.221, allocations: 55.33 kB / 0.9623 GB, free: 108.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/1.232, allocations: 10.88 MB / 0.9729 GB, free: 99.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/1.232, allocations: 11.94 kB / 0.9729 GB, free: 99.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.244, allocations: 4.841 MB / 0.9776 GB, free: 94.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.245, allocations: 0.5146 MB / 0.9782 GB, free: 94.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004115/1.245, allocations: 39.98 kB / 0.9782 GB, free: 94.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.248, allocations: 395.4 kB / 0.9786 GB, free: 94 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005492/1.249, allocations: 160.9 kB / 0.9787 GB, free: 93.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.249, allocations: 75.95 kB / 0.9788 GB, free: 93.76 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001092/1.25, allocations: 0.7215 MB / 0.9795 GB, free: 93.04 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.25, allocations: 3.844 kB / 0.9795 GB, free: 93.04 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004596/1.255, allocations: 1.188 MB / 0.9807 GB, free: 91.85 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (7,29,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003509/1.255, allocations: 159.9 kB / 0.9808 GB, free: 91.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01879/1.274, allocations: 8.777 MB / 0.9894 GB, free: 82.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.941e-05/1.274, allocations: 4 kB / 0.9894 GB, free: 82.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005978/1.28, allocations: 2.672 MB / 0.992 GB, free: 80.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/1.282, allocations: 202.6 kB / 0.9922 GB, free: 80 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.3, allocations: 7.283 MB / 0.9993 GB, free: 72.61 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/1.302, allocations: 2.232 MB / 1.001 GB, free: 70.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003519/1.305, allocations: 1.284 MB / 1.003 GB, free: 69.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/1.306, allocations: 131.3 kB / 1.003 GB, free: 68.93 MB / 0.7325 GB Notification: Performance of SimCode: time 1.734e-06/1.306, allocations: 0 / 1.003 GB, free: 68.93 MB / 0.7325 GB Notification: Performance of Templates: time 0.05277/1.359, allocations: 36.88 MB / 1.039 GB, free: 32.26 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)