Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001084/0.001084, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.3 MB / 0.5488 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 64.92 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2521, allocations: 114.6 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.0198/0.2719, allocations: 16.33 MB / 0.7993 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009657/0.2816, allocations: 5.935 MB / 0.8051 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.283, allocations: 43.88 kB / 0.8052 GB, free: 7.078 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003502/0.2865, allocations: 1.364 MB / 0.8065 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.2894, allocations: 1.023 MB / 0.8075 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.2921, allocations: 1.025 MB / 0.8085 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004924/0.2971, allocations: 4.132 MB / 0.8125 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008129/0.3052, allocations: 5.452 MB / 0.8179 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/0.3089, allocations: 1.823 MB / 0.8196 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.3127, allocations: 2.193 MB / 0.8218 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001697/0.3144, allocations: 432 kB / 0.8222 GB, free: 5.539 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.3176, allocations: 1.108 MB / 0.8233 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002721/0.3203, allocations: 1.716 MB / 0.8249 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004103/0.3244, allocations: 1.685 MB / 0.8266 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007727/0.3322, allocations: 6.28 MB / 0.8327 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3322, allocations: 0 / 0.8327 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3322, allocations: 0 / 0.8327 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001165/0.3323, allocations: 0 / 0.8327 GB, free: 10.72 MB / 0.6544 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.005898/0.3382, allocations: 2.943 MB / 0.8356 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.3383, allocations: 11.97 kB / 0.8356 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.3491, allocations: 2.01 MB / 0.8376 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/0.3528, allocations: 1.589 MB / 0.8391 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.353, allocations: 218.1 kB / 0.8393 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005812/0.3536, allocations: 276.4 kB / 0.8396 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01159/0.3651, allocations: 5.692 MB / 0.8452 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/0.3652, allocations: 4 kB / 0.8452 GB, free: 13.78 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.3656, allocations: 120 kB / 0.8453 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003035/0.3659, allocations: 200.7 kB / 0.8455 GB, free: 13.46 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01375/0.3796, allocations: 5.832 MB / 0.8512 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02691/0.4066, allocations: 22.57 MB / 0.8732 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/0.4126, allocations: 3.021 MB / 0.8761 GB, free: 11.83 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004722/0.4174, allocations: 1.952 MB / 0.8781 GB, free: 9.859 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.4176, allocations: 122 kB / 0.8782 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.4176, allocations: 55.5 kB / 0.8782 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=132): time 3.597e-06/0.4176, allocations: 4 kB / 0.8782 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of matching and sorting (n=174): time 0.03895/0.4566, allocations: 12.82 MB / 0.8907 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.4568, allocations: 230.9 kB / 0.891 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.4585, allocations: 0.9492 MB / 0.8919 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.00039/0.4589, allocations: 53.7 kB / 0.8919 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.46, allocations: 1.162 MB / 0.8931 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008688/0.4608, allocations: 0.597 MB / 0.8937 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008326/0.4617, allocations: 459.6 kB / 0.8941 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4619, allocations: 337.9 kB / 0.8944 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004593/0.4665, allocations: 1.879 MB / 0.8963 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004921/0.4714, allocations: 2.459 MB / 0.8987 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009519/0.4809, allocations: 4.378 MB / 0.9029 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.481, allocations: 4 kB / 0.9029 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.0126/0.4936, allocations: 5.427 MB / 0.9082 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.4937, allocations: 12 kB / 0.9082 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.4937, allocations: 20 kB / 0.9083 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003255/0.497, allocations: 1.248 MB / 0.9095 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/0.5001, allocations: 0.7292 MB / 0.9102 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5566/1.057, allocations: 11.49 MB / 0.9214 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00343/1.06, allocations: 458.5 kB / 0.9219 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/1.061, allocations: 113.3 kB / 0.922 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006165/1.067, allocations: 2.942 MB / 0.9248 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004727/1.071, allocations: 2.45 MB / 0.9272 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00904/1.081, allocations: 4.347 MB / 0.9315 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.949e-05/1.081, allocations: 5.188 kB / 0.9315 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01458/1.095, allocations: 5.362 MB / 0.9367 GB, free: 120 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/1.095, allocations: 14.47 kB / 0.9367 GB, free: 120 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-05/1.095, allocations: 19.06 kB / 0.9367 GB, free: 120 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003677/1.099, allocations: 1.161 MB / 0.9379 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/1.103, allocations: 0.7273 MB / 0.9386 GB, free: 119.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01413/1.117, allocations: 11.32 MB / 0.9496 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.121, allocations: 449.1 kB / 0.9501 GB, free: 113.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003241/1.121, allocations: 117.7 kB / 0.9502 GB, free: 113.2 MB / 0.7325 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.0008368/1.122, allocations: 305.4 kB / 0.9505 GB, free: 112.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/1.122, allocations: 122.4 kB / 0.9506 GB, free: 112.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.139, allocations: 4.97 MB / 0.9554 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/1.139, allocations: 17.5 kB / 0.9555 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/1.139, allocations: 15.98 kB / 0.9555 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.593e-05/1.139, allocations: 10.75 kB / 0.9555 GB, free: 111 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02742/1.167, allocations: 8.945 MB / 0.9642 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.663e-05/1.167, allocations: 7.719 kB / 0.9642 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/1.171, allocations: 0.5302 MB / 0.9647 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004368/1.176, allocations: 0.9778 MB / 0.9657 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/1.176, allocations: 55.52 kB / 0.9658 GB, free: 104.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/1.196, allocations: 10.9 MB / 0.9764 GB, free: 95.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.846e-06/1.196, allocations: 11.66 kB / 0.9764 GB, free: 95.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01854/1.215, allocations: 4.77 MB / 0.9811 GB, free: 90.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001504/1.217, allocations: 0.4902 MB / 0.9815 GB, free: 90.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/1.217, allocations: 43.98 kB / 0.9816 GB, free: 90.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004636/1.222, allocations: 391.4 kB / 0.982 GB, free: 89.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/1.222, allocations: 160.9 kB / 0.9821 GB, free: 89.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.223, allocations: 67.95 kB / 0.9822 GB, free: 89.48 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001366/1.224, allocations: 0.6903 MB / 0.9829 GB, free: 88.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.1e-07/1.224, allocations: 0 / 0.9829 GB, free: 88.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00649/1.23, allocations: 1.191 MB / 0.984 GB, free: 87.6 MB / 0.7325 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.0004195/1.231, allocations: 147 kB / 0.9842 GB, free: 87.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.03492/1.266, allocations: 8.649 MB / 0.9926 GB, free: 78.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.825e-05/1.266, allocations: 0 / 0.9926 GB, free: 78.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01035/1.276, allocations: 2.626 MB / 0.9952 GB, free: 76.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/1.279, allocations: 195.2 kB / 0.9954 GB, free: 75.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02799/1.307, allocations: 7.391 MB / 1.003 GB, free: 68.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/1.31, allocations: 2.306 MB / 1.005 GB, free: 66.11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.006642/1.317, allocations: 1.228 MB / 1.006 GB, free: 64.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00078/1.318, allocations: 131.3 kB / 1.006 GB, free: 64.75 MB / 0.7325 GB Notification: Performance of SimCode: time 9.11e-07/1.318, allocations: 0 / 1.006 GB, free: 64.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.06532/1.383, allocations: 36.58 MB / 1.042 GB, free: 28.4 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)