Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 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.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_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.001227/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00218/0.00218, allocations: 194.2 kB / 16.14 MB, free: 6.664 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.658/1.658, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 62.39 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3439, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01929/0.3632, allocations: 15.66 MB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3735, allocations: 5.79 MB / 1.088 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001494/0.3751, allocations: 35.88 kB / 1.088 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003445/0.3785, allocations: 1.163 MB / 1.09 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002869/0.3814, allocations: 0.9343 MB / 1.091 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.3845, allocations: 0.928 MB / 1.091 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006313/0.3908, allocations: 6.011 MB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008594/0.3995, allocations: 5.69 MB / 1.103 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/0.402, allocations: 1.46 MB / 1.104 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/0.4057, allocations: 2.123 MB / 1.106 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001083/0.4068, allocations: 284 kB / 1.107 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.4096, allocations: 1.135 MB / 1.108 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.4121, allocations: 1.501 MB / 1.109 GB, free: 48 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003285/0.4154, allocations: 1.463 MB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006653/0.422, allocations: 5.894 MB / 1.116 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4221, allocations: 0 / 1.116 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4221, allocations: 3.938 kB / 1.116 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000166/0.4223, allocations: 0 / 1.116 GB, free: 8.664 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006867/0.4291, allocations: 2.829 MB / 1.119 GB, free: 5.777 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4292, allocations: 12.03 kB / 1.119 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.4399, allocations: 1.995 MB / 1.121 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.4435, allocations: 1.53 MB / 1.123 GB, free: 2.195 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.4437, allocations: 205.8 kB / 1.123 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007818/0.4445, allocations: 268.3 kB / 1.123 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.459, allocations: 5.463 MB / 1.128 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.4592, allocations: 0 / 1.128 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009929/0.4602, allocations: 116 kB / 1.129 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003732/0.4606, allocations: 192.5 kB / 1.129 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01553/0.4761, allocations: 5.69 MB / 1.134 GB, free: 6.156 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03288/0.5091, allocations: 21.23 MB / 1.155 GB, free: 15.08 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006266/0.5154, allocations: 2.995 MB / 1.158 GB, free: 11.92 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/0.5208, allocations: 2.118 MB / 1.16 GB, free: 9.785 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000273/0.5211, allocations: 126 kB / 1.16 GB, free: 9.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.5212, allocations: 55.55 kB / 1.16 GB, free: 9.582 MB / 0.92 GB Notification: Performance of pre-optimization done (n=139): time 4.348e-06/0.5212, allocations: 0 / 1.16 GB, free: 9.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=181): time 0.04214/0.5633, allocations: 12.81 MB / 1.173 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.5635, allocations: 234.9 kB / 1.173 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.5653, allocations: 0.9804 MB / 1.174 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004137/0.5658, allocations: 49.7 kB / 1.174 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008471/0.5666, allocations: 1.108 MB / 1.175 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009907/0.5676, allocations: 0.6162 MB / 1.176 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001266/0.5689, allocations: 471.9 kB / 1.176 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.569, allocations: 330 kB / 1.176 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004751/0.5738, allocations: 1.927 MB / 1.178 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005185/0.579, allocations: 2.505 MB / 1.181 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009858/0.5889, allocations: 4.454 MB / 1.185 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/0.5889, allocations: 4 kB / 1.185 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.0134/0.6023, allocations: 5.521 MB / 1.19 GB, free: 9.922 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.6024, allocations: 12 kB / 1.19 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.076e-05/0.6025, allocations: 20 kB / 1.19 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/0.606, allocations: 1.209 MB / 1.192 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003272/0.6093, allocations: 0.7448 MB / 1.192 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.6242, allocations: 10.48 MB / 1.203 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003294/0.6275, allocations: 447.2 kB / 1.203 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/0.628, allocations: 112 kB / 1.203 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007033/0.6351, allocations: 2.936 MB / 1.206 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005324/0.6404, allocations: 2.497 MB / 1.208 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009799/0.6503, allocations: 4.431 MB / 1.213 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-05/0.6503, allocations: 7.938 kB / 1.213 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01373/0.6641, allocations: 5.45 MB / 1.218 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.6641, allocations: 16.06 kB / 1.218 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.6642, allocations: 16 kB / 1.218 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002882/0.6671, allocations: 1.126 MB / 1.219 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003309/0.6704, allocations: 0.7526 MB / 1.22 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/0.6851, allocations: 10.33 MB / 1.23 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/0.6884, allocations: 447.2 kB / 1.23 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005148/0.689, allocations: 112 kB / 1.231 GB, free: 15.73 MB / 0.9981 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.0008757/0.6898, allocations: 320.1 kB / 1.231 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000559/0.6904, allocations: 126.5 kB / 1.231 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.7028, allocations: 5.198 MB / 1.236 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.612e-05/0.7028, allocations: 19.94 kB / 1.236 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.124e-05/0.7029, allocations: 12 kB / 1.236 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.7029, allocations: 11.97 kB / 1.236 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/0.7215, allocations: 8.862 MB / 1.245 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.7216, allocations: 8 kB / 1.245 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002406/0.724, allocations: 0.5388 MB / 1.245 GB, free: 412 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6395/1.364, allocations: 0.9555 MB / 1.246 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004778/1.364, allocations: 58.45 kB / 1.246 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/1.378, allocations: 9.954 MB / 1.256 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/1.378, allocations: 13.83 kB / 1.256 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/1.389, allocations: 4.837 MB / 1.261 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.39, allocations: 0.5063 MB / 1.261 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003048/1.39, allocations: 38.41 kB / 1.261 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/1.393, allocations: 400.9 kB / 1.262 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005753/1.394, allocations: 159.5 kB / 1.262 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/1.394, allocations: 70.47 kB / 1.262 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001108/1.395, allocations: 0.7208 MB / 1.263 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.422e-06/1.395, allocations: 3.938 kB / 1.263 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004405/1.399, allocations: 1.19 MB / 1.264 GB, free: 162.3 MB / 0.9981 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.0003676/1.4, allocations: 154.5 kB / 1.264 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02131/1.421, allocations: 8.087 MB / 1.272 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.421, allocations: 1.438 kB / 1.272 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007081/1.428, allocations: 2.674 MB / 1.274 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/1.431, allocations: 203.4 kB / 1.275 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/1.454, allocations: 8.417 MB / 1.283 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003424/1.457, allocations: 2.231 MB / 1.285 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004693/1.462, allocations: 1.288 MB / 1.286 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/1.463, allocations: 128.5 kB / 1.286 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.643e-06/1.463, allocations: 0 / 1.286 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.05494/1.518, allocations: 35.91 MB / 1.321 GB, free: 128.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)