Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009415, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00787/0.00787, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.511/1.511, 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 3.048/3.048, allocations: 473.4 MB / 0.7469 GB, free: 6.109 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 9.125 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3766, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.02152/0.3982, allocations: 16.8 MB / 1.091 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01054/0.4088, allocations: 6.138 MB / 1.097 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.4102, allocations: 43.81 kB / 1.097 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.4114, allocations: 317.8 kB / 1.097 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002854/0.4142, allocations: 1.008 MB / 1.098 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.4165, allocations: 0.8657 MB / 1.099 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006549/0.4231, allocations: 6.718 MB / 1.105 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009776/0.4329, allocations: 6.806 MB / 1.112 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/0.4354, allocations: 1.335 MB / 1.113 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003439/0.4389, allocations: 2.013 MB / 1.115 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008085/0.4397, allocations: 192 kB / 1.115 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002583/0.4423, allocations: 1.072 MB / 1.116 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.4445, allocations: 1.473 MB / 1.118 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.4472, allocations: 1.444 MB / 1.119 GB, free: 9.152 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009174/0.4564, allocations: 6.293 MB / 1.125 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4564, allocations: 0 / 1.125 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4565, allocations: 0 / 1.125 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000223/0.4567, allocations: 0 / 1.125 GB, free: 2.84 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.008342/0.465, allocations: 2.486 MB / 1.128 GB, free: 300 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.4651, allocations: 16.03 kB / 1.128 GB, free: 284 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.4783, allocations: 2.166 MB / 1.13 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.4829, allocations: 1.711 MB / 1.132 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.4832, allocations: 218.2 kB / 1.132 GB, free: 12.13 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.4846, allocations: 292.3 kB / 1.132 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.5014, allocations: 5.907 MB / 1.138 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.5015, allocations: 4 kB / 1.138 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/0.5026, allocations: 116 kB / 1.138 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006015/0.5032, allocations: 265.9 kB / 1.138 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/0.5208, allocations: 6.101 MB / 1.144 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03584/0.5567, allocations: 22.53 MB / 1.166 GB, free: 6.879 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006404/0.5631, allocations: 2.546 MB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005076/0.5682, allocations: 1.698 MB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002522/0.5685, allocations: 114 kB / 1.17 GB, free: 2.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.5686, allocations: 47.56 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of pre-optimization done (n=122): time 3.306e-06/0.5686, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=173): time 0.05449/0.6231, allocations: 14.59 MB / 1.185 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.6232, allocations: 69.41 kB / 1.185 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.6252, allocations: 1.155 MB / 1.186 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003312/0.6256, allocations: 53.7 kB / 1.186 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009902/0.6266, allocations: 1.262 MB / 1.187 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008438/0.6274, allocations: 0.6008 MB / 1.188 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.6279, allocations: 194.4 kB / 1.188 GB, free: 316 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.6281, allocations: 353.8 kB / 1.188 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005474/0.6336, allocations: 2.026 MB / 1.19 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005876/0.6395, allocations: 2.738 MB / 1.193 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.6505, allocations: 4.835 MB / 1.198 GB, free: 5.715 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-05/0.6506, allocations: 8 kB / 1.198 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01707/0.6677, allocations: 6.269 MB / 1.204 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007088/0.6684, allocations: 0.7498 MB / 1.205 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.434e-05/0.6685, allocations: 24 kB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005507/0.674, allocations: 1.546 MB / 1.206 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003779/0.6778, allocations: 0.7643 MB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02501/0.7029, allocations: 17.45 MB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/0.7069, allocations: 495 kB / 1.224 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005391/0.7074, allocations: 116 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.7074, allocations: 4 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01661/0.7241, allocations: 6.07 MB / 1.23 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001023/0.7242, allocations: 24 kB / 1.23 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004653/0.7289, allocations: 1.453 MB / 1.232 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005842/0.7347, allocations: 0.7643 MB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7783/1.513, allocations: 17.22 MB / 1.249 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00385/1.517, allocations: 464.8 kB / 1.25 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/1.517, allocations: 118.2 kB / 1.25 GB, free: 159.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003397/1.521, allocations: 1.325 MB / 1.251 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005018/1.521, allocations: 146.1 kB / 1.251 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01573/1.537, allocations: 5.812 MB / 1.257 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/1.537, allocations: 17.11 kB / 1.257 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/1.537, allocations: 11.72 kB / 1.257 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.818e-05/1.537, allocations: 8.016 kB / 1.257 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/1.558, allocations: 9.623 MB / 1.267 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.558, allocations: 7.062 kB / 1.267 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/1.56, allocations: 0.5159 MB / 1.267 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004357/1.565, allocations: 1.279 MB / 1.268 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003394/1.565, allocations: 51.5 kB / 1.268 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01924/1.584, allocations: 16.6 MB / 1.285 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/1.584, allocations: 15.66 kB / 1.285 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/1.597, allocations: 5.062 MB / 1.29 GB, free: 143 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.598, allocations: 0.5449 MB / 1.29 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/1.599, allocations: 33.03 kB / 1.29 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.601, allocations: 441 kB / 1.291 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/1.602, allocations: 156.6 kB / 1.291 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.602, allocations: 69.64 kB / 1.291 GB, free: 142.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001173/1.603, allocations: 0.8169 MB / 1.292 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.603, allocations: 0 / 1.292 GB, free: 142.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004682/1.608, allocations: 1.263 MB / 1.293 GB, free: 142.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (104): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,10,100.0%), (2,10,100.0%), (2,10,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003404/1.608, allocations: 157.6 kB / 1.293 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02021/1.628, allocations: 9.508 MB / 1.302 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/1.628, allocations: 3.906 kB / 1.302 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007224/1.636, allocations: 3.288 MB / 1.305 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.638, allocations: 230.7 kB / 1.306 GB, free: 136.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01915/1.657, allocations: 9.025 MB / 1.314 GB, free: 130.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/1.659, allocations: 2.385 MB / 1.317 GB, free: 129.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003618/1.663, allocations: 1.253 MB / 1.318 GB, free: 128.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004777/1.663, allocations: 131.3 kB / 1.318 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.663, allocations: 0 / 1.318 GB, free: 128.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06094/1.724, allocations: 43.49 MB / 1.361 GB, free: 84.87 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)