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.001105/0.001105, allocations: 104 kB / 16.36 MB, free: 6.262 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.001058/0.001058, allocations: 194.1 kB / 17.3 MB, free: 5.848 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.846/1.846, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001498/0.001498, allocations: 67.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2076, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.4482/0.6559, allocations: 16.33 MB / 0.8007 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008772/0.6647, allocations: 5.921 MB / 0.8065 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.666, allocations: 45.66 kB / 0.8066 GB, free: 37.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003344/0.6694, allocations: 1.35 MB / 0.8079 GB, free: 36.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002636/0.672, allocations: 1.04 MB / 0.8089 GB, free: 36.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.6748, allocations: 1.022 MB / 0.8099 GB, free: 35.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006276/0.6811, allocations: 4.137 MB / 0.8139 GB, free: 33.72 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007208/0.6883, allocations: 5.444 MB / 0.8193 GB, free: 31.84 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.6919, allocations: 1.831 MB / 0.821 GB, free: 31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.6954, allocations: 2.197 MB / 0.8232 GB, free: 30.05 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000766/0.6962, allocations: 431.8 kB / 0.8236 GB, free: 30.05 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002962/0.6992, allocations: 1.106 MB / 0.8247 GB, free: 29.81 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002278/0.7015, allocations: 1.716 MB / 0.8264 GB, free: 29.12 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.7037, allocations: 1.684 MB / 0.828 GB, free: 28.01 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008892/0.7126, allocations: 6.311 MB / 0.8342 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.7127, allocations: 4 kB / 0.8342 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7127, allocations: 0 / 0.8342 GB, free: 26.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002045/0.7129, allocations: 1.25 kB / 0.8342 GB, free: 26.09 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.007758/0.7207, allocations: 2.948 MB / 0.8371 GB, free: 24.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.7207, allocations: 9.172 kB / 0.8371 GB, free: 24.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.7326, allocations: 2.008 MB / 0.839 GB, free: 24.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.7369, allocations: 1.62 MB / 0.8406 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001912/0.7371, allocations: 214.6 kB / 0.8408 GB, free: 23.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009526/0.7381, allocations: 277.1 kB / 0.8411 GB, free: 23.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/0.7506, allocations: 5.689 MB / 0.8466 GB, free: 19.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-05/0.7507, allocations: 3.938 kB / 0.8466 GB, free: 19.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.7511, allocations: 117.1 kB / 0.8467 GB, free: 19.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003251/0.7514, allocations: 203.3 kB / 0.8469 GB, free: 19.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.7658, allocations: 5.824 MB / 0.8526 GB, free: 16.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02864/0.7945, allocations: 22.43 MB / 0.8745 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.8012, allocations: 3.013 MB / 0.8775 GB, free: 9.297 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005209/0.8065, allocations: 1.936 MB / 0.8794 GB, free: 7.34 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.8067, allocations: 130 kB / 0.8795 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.8068, allocations: 47.56 kB / 0.8795 GB, free: 7.141 MB / 0.67 GB Notification: Performance of pre-optimization done (n=132): time 3.387e-06/0.8068, allocations: 0 / 0.8795 GB, free: 7.141 MB / 0.67 GB Notification: Performance of matching and sorting (n=174): time 0.04147/0.8483, allocations: 12.83 MB / 0.8921 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.8484, allocations: 226.9 kB / 0.8923 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.8497, allocations: 0.9608 MB / 0.8932 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.85, allocations: 58.27 kB / 0.8933 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000636/0.8506, allocations: 1.15 MB / 0.8944 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.8512, allocations: 0.5969 MB / 0.895 GB, free: 7.191 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007962/0.852, allocations: 459.7 kB / 0.8954 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8521, allocations: 337.9 kB / 0.8957 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004952/0.8571, allocations: 1.879 MB / 0.8976 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00539/0.8625, allocations: 2.456 MB / 0.9 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.8727, allocations: 4.378 MB / 0.9042 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/0.8727, allocations: 8 kB / 0.9043 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01374/0.8865, allocations: 5.423 MB / 0.9096 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.8865, allocations: 12 kB / 0.9096 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.8866, allocations: 20 kB / 0.9096 GB, free: 7.672 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/0.8899, allocations: 1.233 MB / 0.9108 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.8933, allocations: 0.7337 MB / 0.9115 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/0.9094, allocations: 11.49 MB / 0.9227 GB, free: 9.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/0.9132, allocations: 463.1 kB / 0.9232 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.9135, allocations: 108 kB / 0.9233 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007139/0.9207, allocations: 2.943 MB / 0.9261 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005621/0.9263, allocations: 2.456 MB / 0.9285 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01081/0.9372, allocations: 4.35 MB / 0.9328 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.117e-05/0.9373, allocations: 8.562 kB / 0.9328 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01389/0.9511, allocations: 5.364 MB / 0.938 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.9512, allocations: 12 kB / 0.938 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.9512, allocations: 19.94 kB / 0.9381 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00299/0.9542, allocations: 1.146 MB / 0.9392 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/0.9577, allocations: 0.7293 MB / 0.9399 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/0.9732, allocations: 11.3 MB / 0.9509 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/0.9769, allocations: 455.2 kB / 0.9514 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/0.9772, allocations: 108 kB / 0.9515 GB, free: 11.66 MB / 0.7481 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.0006366/0.9778, allocations: 311.6 kB / 0.9518 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.9783, allocations: 122.6 kB / 0.9519 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.9909, allocations: 4.965 MB / 0.9567 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/0.991, allocations: 8.719 kB / 0.9567 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.991, allocations: 4 kB / 0.9567 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.9921, allocations: 0.4955 MB / 0.9572 GB, free: 5.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/0.9924, allocations: 32 kB / 0.9573 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/0.9951, allocations: 387.4 kB / 0.9576 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003164/0.9954, allocations: 157 kB / 0.9578 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01421/1.01, allocations: 5.454 MB / 0.9631 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01429/1.024, allocations: 6.18 MB / 0.9691 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00449/1.029, allocations: 1.775 MB / 0.9709 GB, free: 7.668 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001065/1.03, allocations: 0.6942 MB / 0.9716 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of Backend: time 4.21e-07/1.03, allocations: 0 / 0.9716 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01774/1.047, allocations: 6.912 MB / 0.9783 GB, free: 16 kB / 0.7637 GB Notification: Performance of SimCode: time 0.008303/1.056, allocations: 5.304 MB / 0.9835 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.08579/1.142, allocations: 57.04 MB / 1.039 GB, free: 1.758 MB / 0.8262 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)