Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0008717/0.0008717, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006664/0.006665, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.916/2.916, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003985/0.0003985, allocations: 13.14 kB / 0.9158 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3567, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01701/0.3738, allocations: 15.11 MB / 1.089 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00999/0.3838, allocations: 5.712 MB / 1.094 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.385, allocations: 35.88 kB / 1.095 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.3861, allocations: 278 kB / 1.095 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.3892, allocations: 0.9343 MB / 1.096 GB, free: 1.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.3913, allocations: 0.7526 MB / 1.096 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00622/0.3976, allocations: 6.011 MB / 1.102 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009572/0.4071, allocations: 6.265 MB / 1.108 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.4098, allocations: 1.195 MB / 1.11 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003404/0.4132, allocations: 1.819 MB / 1.111 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008211/0.414, allocations: 176 kB / 1.112 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.4169, allocations: 1.041 MB / 1.113 GB, free: 24 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.4191, allocations: 1.345 MB / 1.114 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003235/0.4224, allocations: 1.289 MB / 1.115 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007925/0.4303, allocations: 5.709 MB / 1.121 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4303, allocations: 0 / 1.121 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.678e-06/0.4303, allocations: 4 kB / 1.121 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001595/0.4305, allocations: 0 / 1.121 GB, free: 7.645 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.006799/0.4373, allocations: 2.294 MB / 1.123 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4374, allocations: 8.031 kB / 1.123 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01153/0.4489, allocations: 2.003 MB / 1.125 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003336/0.4523, allocations: 1.526 MB / 1.126 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002101/0.4525, allocations: 201.8 kB / 1.127 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.4536, allocations: 264.4 kB / 1.127 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01399/0.4675, allocations: 5.466 MB / 1.132 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.4676, allocations: 11.94 kB / 1.132 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004032/0.4681, allocations: 119.9 kB / 1.132 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003366/0.4684, allocations: 192.5 kB / 1.132 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01392/0.4823, allocations: 5.69 MB / 1.138 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/0.5106, allocations: 21.26 MB / 1.159 GB, free: 14.56 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.5168, allocations: 3.002 MB / 1.162 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/0.5223, allocations: 2.106 MB / 1.164 GB, free: 9.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.5225, allocations: 126 kB / 1.164 GB, free: 9.133 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.777e-05/0.5226, allocations: 51.5 kB / 1.164 GB, free: 9.074 MB / 0.92 GB Notification: Performance of pre-optimization done (n=139): time 5.06e-06/0.5226, allocations: 7.984 kB / 1.164 GB, free: 9.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=181): time 0.04108/0.5637, allocations: 12.96 MB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.5639, allocations: 234.9 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/0.5655, allocations: 0.9803 MB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002542/0.5658, allocations: 53.7 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009297/0.5667, allocations: 1.1 MB / 1.179 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008384/0.5676, allocations: 0.624 MB / 1.18 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/0.568, allocations: 182.2 kB / 1.18 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5682, allocations: 334 kB / 1.18 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005155/0.5733, allocations: 1.913 MB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005399/0.5787, allocations: 2.509 MB / 1.184 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.5889, allocations: 4.462 MB / 1.189 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.31e-05/0.589, allocations: 8 kB / 1.189 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.0137/0.6027, allocations: 5.524 MB / 1.194 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005358/0.6033, allocations: 0.6035 MB / 1.195 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/0.6033, allocations: 16 kB / 1.195 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/0.6068, allocations: 1.22 MB / 1.196 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00346/0.6103, allocations: 0.7526 MB / 1.197 GB, free: 6.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/0.6255, allocations: 10.48 MB / 1.207 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003644/0.6292, allocations: 455.1 kB / 1.207 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005656/0.6298, allocations: 115.9 kB / 1.207 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.6298, allocations: 4 kB / 1.207 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01399/0.6438, allocations: 5.337 MB / 1.213 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.835e-05/0.644, allocations: 20.27 kB / 1.213 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002825/0.6468, allocations: 0.9541 MB / 1.214 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/0.6507, allocations: 0.7487 MB / 1.214 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.6662, allocations: 10.36 MB / 1.224 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.6698, allocations: 439.1 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005999/0.6705, allocations: 115.9 kB / 1.225 GB, free: 9.117 MB / 0.9825 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.002761/0.6732, allocations: 1.211 MB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006713/0.6739, allocations: 130.5 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.6875, allocations: 5.209 MB / 1.231 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.6875, allocations: 16 kB / 1.231 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.991e-05/0.6876, allocations: 12 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3e-05/0.6876, allocations: 15.91 kB / 1.231 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/0.7077, allocations: 8.87 MB / 1.24 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/0.7077, allocations: 8 kB / 1.24 GB, free: 9.414 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/0.7104, allocations: 0.5464 MB / 1.241 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.7132, allocations: 0.9541 MB / 1.242 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/0.7135, allocations: 63.89 kB / 1.242 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8725/1.586, allocations: 9.966 MB / 1.251 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/1.586, allocations: 16.81 kB / 1.251 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/1.598, allocations: 4.841 MB / 1.256 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.599, allocations: 0.5286 MB / 1.257 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002461/1.6, allocations: 45.94 kB / 1.257 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.602, allocations: 401.3 kB / 1.257 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004162/1.603, allocations: 158.2 kB / 1.257 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.603, allocations: 70.12 kB / 1.257 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009842/1.604, allocations: 0.728 MB / 1.258 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.51e-07/1.604, allocations: 0 / 1.258 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003616/1.607, allocations: 1.181 MB / 1.259 GB, free: 160.6 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.0003267/1.608, allocations: 156.6 kB / 1.259 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02147/1.629, allocations: 8.144 MB / 1.267 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.629, allocations: 1.031 kB / 1.267 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007634/1.637, allocations: 2.673 MB / 1.27 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/1.64, allocations: 198.1 kB / 1.27 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/1.661, allocations: 8.421 MB / 1.278 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0026/1.663, allocations: 2.236 MB / 1.28 GB, free: 154 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004064/1.668, allocations: 1.284 MB / 1.282 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/1.668, allocations: 128.2 kB / 1.282 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.668, allocations: 0 / 1.282 GB, free: 153.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.07667/1.745, allocations: 35.18 MB / 1.316 GB, free: 133.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)