Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.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.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001005, allocations: 98.03 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.00842/0.00842, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.522/1.522, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 473.4 MB / 0.7469 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003978, allocations: 13.53 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.0183/0.3451, allocations: 15.72 MB / 1.089 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01011/0.3552, allocations: 5.849 MB / 1.095 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.3567, allocations: 35.88 kB / 1.095 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.3576, allocations: 301.8 kB / 1.096 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.3601, allocations: 0.9616 MB / 1.096 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.3622, allocations: 0.7644 MB / 1.097 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006503/0.3687, allocations: 6.292 MB / 1.103 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009849/0.3786, allocations: 6.696 MB / 1.11 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.3814, allocations: 1.257 MB / 1.111 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003842/0.3852, allocations: 1.893 MB / 1.113 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.3857, allocations: 188 kB / 1.113 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.388, allocations: 1.045 MB / 1.114 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.3899, allocations: 1.399 MB / 1.116 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.3916, allocations: 1.37 MB / 1.117 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006822/0.3984, allocations: 6.028 MB / 1.123 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3985, allocations: 0 / 1.123 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.765e-06/0.3985, allocations: 4 kB / 1.123 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001614/0.3987, allocations: 0 / 1.123 GB, free: 5.512 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.005651/0.4043, allocations: 2.373 MB / 1.125 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4044, allocations: 16.02 kB / 1.125 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/0.4156, allocations: 2.007 MB / 1.127 GB, free: 1.051 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003184/0.4188, allocations: 1.593 MB / 1.129 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/0.419, allocations: 218.1 kB / 1.129 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000692/0.4197, allocations: 280.4 kB / 1.129 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.4318, allocations: 5.692 MB / 1.135 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.454e-05/0.4319, allocations: 4 kB / 1.135 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/0.4323, allocations: 116 kB / 1.135 GB, free: 9.02 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/0.4326, allocations: 200.8 kB / 1.135 GB, free: 8.82 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.4468, allocations: 5.836 MB / 1.141 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03008/0.477, allocations: 22.62 MB / 1.163 GB, free: 10.31 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006463/0.4835, allocations: 3.026 MB / 1.166 GB, free: 7.121 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005135/0.4886, allocations: 1.936 MB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.4889, allocations: 114.1 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.809e-05/0.4889, allocations: 63.48 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of pre-optimization done (n=132): time 3.386e-06/0.4889, allocations: 0 / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of matching and sorting (n=174): time 0.04293/0.5319, allocations: 12.96 MB / 1.18 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.5321, allocations: 230.9 kB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.5339, allocations: 0.9608 MB / 1.182 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004367/0.5343, allocations: 53.64 kB / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008881/0.5352, allocations: 1.15 MB / 1.183 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007703/0.536, allocations: 0.5969 MB / 1.183 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.5363, allocations: 178.1 kB / 1.184 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5365, allocations: 341.9 kB / 1.184 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004939/0.5414, allocations: 1.862 MB / 1.186 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005514/0.547, allocations: 2.463 MB / 1.188 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.5575, allocations: 4.378 MB / 1.192 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/0.5575, allocations: 8 kB / 1.192 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01379/0.5713, allocations: 5.427 MB / 1.198 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005088/0.5719, allocations: 0.6229 MB / 1.198 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.5719, allocations: 16 kB / 1.198 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003469/0.5754, allocations: 1.244 MB / 1.199 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003422/0.5788, allocations: 0.7253 MB / 1.2 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.5941, allocations: 10.57 MB / 1.211 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003779/0.598, allocations: 459 kB / 1.211 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/0.5984, allocations: 119.9 kB / 1.211 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5984, allocations: 7.938 kB / 1.211 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01387/0.6123, allocations: 5.243 MB / 1.216 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.517e-05/0.6124, allocations: 20 kB / 1.216 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.6151, allocations: 0.9583 MB / 1.217 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003493/0.6186, allocations: 0.7292 MB / 1.218 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/0.6335, allocations: 10.39 MB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/0.6369, allocations: 447.1 kB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003398/0.6373, allocations: 108 kB / 1.229 GB, free: 5.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * 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 {(7,29,63.3%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00231/0.6396, allocations: 1.281 MB / 1.23 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004157/0.64, allocations: 126.6 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.6531, allocations: 4.965 MB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/0.6532, allocations: 24 kB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.618e-05/0.6532, allocations: 15.94 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.6532, allocations: 7.969 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01912/0.6724, allocations: 8.971 MB / 1.244 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.6724, allocations: 8 kB / 1.244 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/0.6751, allocations: 0.5225 MB / 1.244 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002792/0.6779, allocations: 0.9698 MB / 1.245 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/0.6782, allocations: 55.95 kB / 1.245 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6025/1.281, allocations: 9.97 MB / 1.255 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.281, allocations: 12.5 kB / 1.255 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/1.292, allocations: 4.77 MB / 1.259 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009666/1.293, allocations: 0.5184 MB / 1.26 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.293, allocations: 42.41 kB / 1.26 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/1.296, allocations: 401.7 kB / 1.26 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005735/1.296, allocations: 153.1 kB / 1.261 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/1.296, allocations: 68.25 kB / 1.261 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001253/1.298, allocations: 0.6873 MB / 1.261 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.298, allocations: 2.875 kB / 1.261 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004818/1.303, allocations: 1.186 MB / 1.262 GB, free: 160.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 101 * 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%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003836/1.303, allocations: 152.1 kB / 1.263 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02155/1.325, allocations: 8.044 MB / 1.27 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.325, allocations: 1.312 kB / 1.27 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006681/1.331, allocations: 2.617 MB / 1.273 GB, free: 157 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/1.334, allocations: 199.6 kB / 1.273 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/1.354, allocations: 8.593 MB / 1.282 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002329/1.357, allocations: 2.308 MB / 1.284 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003874/1.36, allocations: 1.227 MB / 1.285 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/1.361, allocations: 119.6 kB / 1.285 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.143e-06/1.361, allocations: 1.875 kB / 1.285 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.05055/1.412, allocations: 34.93 MB / 1.319 GB, free: 130 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)