Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001361/0.001361, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 65.89 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.318, 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.Transformer): time 0.02042/0.3385, allocations: 17.02 MB / 1.084 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01033/0.3489, allocations: 6.133 MB / 1.09 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001534/0.3505, allocations: 39.88 kB / 1.09 GB, free: 3.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004776/0.3553, allocations: 1.467 MB / 1.092 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.3586, allocations: 1.004 MB / 1.093 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.3621, allocations: 0.9469 MB / 1.094 GB, free: 240 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007446/0.3696, allocations: 6.452 MB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009661/0.3793, allocations: 6.358 MB / 1.106 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.382, allocations: 1.554 MB / 1.108 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.3856, allocations: 2.298 MB / 1.11 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.3867, allocations: 304 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002705/0.3894, allocations: 1.158 MB / 1.111 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00237/0.3918, allocations: 1.614 MB / 1.113 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.3949, allocations: 1.575 MB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006901/0.4018, allocations: 6.326 MB / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4018, allocations: 0 / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4018, allocations: 4 kB / 1.121 GB, free: 4.457 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001783/0.402, allocations: 0 / 1.121 GB, free: 4.457 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.007918/0.4099, allocations: 2.994 MB / 1.123 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.41, allocations: 8.031 kB / 1.123 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.4209, allocations: 2.01 MB / 1.125 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/0.4251, allocations: 1.608 MB / 1.127 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.4254, allocations: 222.3 kB / 1.127 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001352/0.4267, allocations: 288.3 kB / 1.127 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/0.4424, allocations: 5.762 MB / 1.133 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.326e-05/0.4425, allocations: 3.938 kB / 1.133 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004063/0.4429, allocations: 120 kB / 1.133 GB, free: 7.258 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003275/0.4432, allocations: 204.9 kB / 1.133 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/0.4573, allocations: 5.807 MB / 1.139 GB, free: 1.234 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.4868, allocations: 22.85 MB / 1.161 GB, free: 8.328 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006138/0.493, allocations: 2.514 MB / 1.164 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004466/0.4975, allocations: 1.644 MB / 1.165 GB, free: 4.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/0.4978, allocations: 118 kB / 1.166 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.4979, allocations: 51.5 kB / 1.166 GB, free: 3.832 MB / 0.92 GB Notification: Performance of pre-optimization done (n=116): time 4.048e-06/0.4979, allocations: 0 / 1.166 GB, free: 3.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=146): time 0.03932/0.5372, allocations: 11.61 MB / 1.177 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.5374, allocations: 226.9 kB / 1.177 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.539, allocations: 1.051 MB / 1.178 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.5393, allocations: 49.7 kB / 1.178 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/0.5402, allocations: 1.231 MB / 1.179 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000695/0.541, allocations: 0.5046 MB / 1.18 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009618/0.5419, allocations: 467.4 kB / 1.18 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.5421, allocations: 337.9 kB / 1.181 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/0.5466, allocations: 1.785 MB / 1.182 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/0.5516, allocations: 2.467 MB / 1.185 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009355/0.561, allocations: 4.265 MB / 1.189 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/0.561, allocations: 8 kB / 1.189 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01319/0.5742, allocations: 5.083 MB / 1.194 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.5743, allocations: 21.34 kB / 1.194 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-05/0.5744, allocations: 20 kB / 1.194 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/0.5775, allocations: 0.8911 MB / 1.195 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/0.5809, allocations: 0.7604 MB / 1.196 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.5955, allocations: 12.81 MB / 1.208 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/0.5988, allocations: 475 kB / 1.209 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004964/0.5994, allocations: 108.5 kB / 1.209 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006812/0.6062, allocations: 2.865 MB / 1.212 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005167/0.6114, allocations: 2.459 MB / 1.214 GB, free: 408 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009473/0.6209, allocations: 4.241 MB / 1.218 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.14e-05/0.621, allocations: 8 kB / 1.218 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01276/0.6337, allocations: 5.032 MB / 1.223 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.6338, allocations: 12 kB / 1.223 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.761e-05/0.6338, allocations: 24 kB / 1.223 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.6363, allocations: 0.7974 MB / 1.224 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.6396, allocations: 0.7644 MB / 1.225 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/0.6536, allocations: 12.66 MB / 1.237 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.6568, allocations: 455.2 kB / 1.237 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004855/0.6573, allocations: 115.9 kB / 1.237 GB, free: 7.133 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (232): * Single equations (assignments): 226 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008366/0.6582, allocations: 320.1 kB / 1.238 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005359/0.6587, allocations: 118.6 kB / 1.238 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/0.6697, allocations: 4.386 MB / 1.242 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/0.6697, allocations: 12 kB / 1.242 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.609e-05/0.6698, allocations: 15.94 kB / 1.242 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.6698, allocations: 3.984 kB / 1.242 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6354/1.305, allocations: 8.229 MB / 1.25 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/1.305, allocations: 6.719 kB / 1.25 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002537/1.308, allocations: 0.5229 MB / 1.251 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003005/1.311, allocations: 0.7008 MB / 1.251 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000424/1.311, allocations: 53.88 kB / 1.251 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.326, allocations: 12.3 MB / 1.263 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/1.326, allocations: 11.12 kB / 1.263 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.338, allocations: 4.218 MB / 1.268 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.339, allocations: 465.3 kB / 1.268 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004271/1.339, allocations: 36.77 kB / 1.268 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/1.342, allocations: 393.2 kB / 1.268 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/1.342, allocations: 126.8 kB / 1.269 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/1.343, allocations: 58.64 kB / 1.269 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001434/1.344, allocations: 0.7477 MB / 1.269 GB, free: 154 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.8e-07/1.344, allocations: 0 / 1.269 GB, free: 154 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005554/1.35, allocations: 1.119 MB / 1.27 GB, free: 153.9 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 (101): * Single equations (assignments): 95 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000384/1.35, allocations: 149.6 kB / 1.271 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01906/1.369, allocations: 8.044 MB / 1.278 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.369, allocations: 1.062 kB / 1.278 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00621/1.375, allocations: 2.724 MB / 1.281 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/1.377, allocations: 180.3 kB / 1.281 GB, free: 149.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/1.399, allocations: 8.429 MB / 1.29 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003612/1.402, allocations: 2.286 MB / 1.292 GB, free: 144.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004436/1.407, allocations: 1.233 MB / 1.293 GB, free: 144.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/1.408, allocations: 127.8 kB / 1.293 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.408, allocations: 1.625 kB / 1.293 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.0473/1.455, allocations: 31.43 MB / 1.324 GB, free: 121.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)