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.001134/0.001134, allocations: 105.1 kB / 16.29 MB, free: 6.047 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.001262/0.001263, allocations: 180 kB / 17.22 MB, free: 5.656 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.449/1.449, allocations: 205.1 MB / 223.1 MB, free: 12.18 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.8/1.8, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.00142/0.001421, allocations: 75.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2575, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.4506/0.7082, allocations: 16.31 MB / 0.8 GB, free: 41.52 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009989/0.7182, allocations: 5.934 MB / 0.8058 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001437/0.7197, allocations: 51.91 kB / 0.8059 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/0.7231, allocations: 1.347 MB / 0.8072 GB, free: 36.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.7262, allocations: 1.03 MB / 0.8082 GB, free: 36.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003125/0.7294, allocations: 1.032 MB / 0.8092 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005967/0.7354, allocations: 4.13 MB / 0.8132 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007946/0.7433, allocations: 5.441 MB / 0.8185 GB, free: 32.01 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.7474, allocations: 1.834 MB / 0.8203 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004324/0.7518, allocations: 2.199 MB / 0.8225 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001378/0.7532, allocations: 432.4 kB / 0.8229 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003857/0.757, allocations: 1.105 MB / 0.824 GB, free: 29.96 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002818/0.7599, allocations: 1.714 MB / 0.8256 GB, free: 29.28 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.7628, allocations: 1.686 MB / 0.8273 GB, free: 28.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.7739, allocations: 6.313 MB / 0.8335 GB, free: 26.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.7739, allocations: 0 / 0.8335 GB, free: 26.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7739, allocations: 0 / 0.8335 GB, free: 26.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002041/0.7741, allocations: 0 / 0.8335 GB, free: 26.25 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.01189/0.786, allocations: 2.952 MB / 0.8363 GB, free: 24.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.7861, allocations: 12.06 kB / 0.8363 GB, free: 24.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.7977, allocations: 2.001 MB / 0.8383 GB, free: 24.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/0.8031, allocations: 1.6 MB / 0.8399 GB, free: 23.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.8034, allocations: 214 kB / 0.8401 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.8046, allocations: 276.9 kB / 0.8403 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.8182, allocations: 5.685 MB / 0.8459 GB, free: 19.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.611e-05/0.8183, allocations: 5.25 kB / 0.8459 GB, free: 19.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.8188, allocations: 129 kB / 0.846 GB, free: 19.86 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003676/0.8191, allocations: 199.3 kB / 0.8462 GB, free: 19.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.8341, allocations: 5.828 MB / 0.8519 GB, free: 16.85 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.8635, allocations: 22.41 MB / 0.8738 GB, free: 12.99 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006052/0.8696, allocations: 3.013 MB / 0.8767 GB, free: 9.805 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004705/0.8743, allocations: 1.952 MB / 0.8786 GB, free: 7.832 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00022/0.8746, allocations: 122 kB / 0.8787 GB, free: 7.695 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.8746, allocations: 51.5 kB / 0.8788 GB, free: 7.637 MB / 0.67 GB Notification: Performance of pre-optimization done (n=132): time 3.376e-06/0.8747, allocations: 0 / 0.8788 GB, free: 7.637 MB / 0.67 GB Notification: Performance of matching and sorting (n=174): time 0.03901/0.9137, allocations: 12.83 MB / 0.8913 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/0.9139, allocations: 222.9 kB / 0.8915 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.9157, allocations: 0.9647 MB / 0.8925 GB, free: 9.523 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003615/0.9161, allocations: 53.7 kB / 0.8925 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009324/0.917, allocations: 1.154 MB / 0.8937 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007758/0.9178, allocations: 0.593 MB / 0.8942 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009239/0.9188, allocations: 463.7 kB / 0.8947 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.919, allocations: 338 kB / 0.895 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/0.9234, allocations: 1.879 MB / 0.8968 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005176/0.9286, allocations: 2.459 MB / 0.8992 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009805/0.9385, allocations: 4.374 MB / 0.9035 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/0.9385, allocations: 8 kB / 0.9035 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01319/0.9517, allocations: 5.427 MB / 0.9088 GB, free: 8.199 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.9518, allocations: 12 kB / 0.9088 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.051e-05/0.9518, allocations: 16 kB / 0.9088 GB, free: 8.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/0.9553, allocations: 1.237 MB / 0.91 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003325/0.9586, allocations: 0.7259 MB / 0.9108 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.975, allocations: 11.5 MB / 0.922 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/0.9787, allocations: 463.1 kB / 0.9224 GB, free: 9.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005267/0.9792, allocations: 112 kB / 0.9225 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007416/0.9867, allocations: 2.943 MB / 0.9254 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005092/0.9918, allocations: 2.452 MB / 0.9278 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009564/1.001, allocations: 4.35 MB / 0.9321 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.608e-05/1.001, allocations: 8.562 kB / 0.9321 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.01293/1.014, allocations: 5.361 MB / 0.9373 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/1.014, allocations: 12.78 kB / 0.9373 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.283e-05/1.014, allocations: 20 kB / 0.9373 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/1.017, allocations: 1.15 MB / 0.9384 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003149/1.02, allocations: 0.7254 MB / 0.9392 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.036, allocations: 11.3 MB / 0.9502 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/1.039, allocations: 451.1 kB / 0.9506 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003481/1.04, allocations: 112 kB / 0.9507 GB, free: 12.16 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.0007164/1.04, allocations: 311.6 kB / 0.951 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/1.041, allocations: 134.6 kB / 0.9512 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.052, allocations: 4.957 MB / 0.956 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/1.052, allocations: 16 kB / 0.956 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/1.052, allocations: 12 kB / 0.956 GB, free: 6.691 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/1.053, allocations: 11.97 kB / 0.956 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.071, allocations: 8.958 MB / 0.9648 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.071, allocations: 4 kB / 0.9648 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/1.074, allocations: 0.5269 MB / 0.9653 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/1.076, allocations: 0.9731 MB / 0.9663 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/1.077, allocations: 55.95 kB / 0.9663 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/1.091, allocations: 10.89 MB / 0.9769 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.091, allocations: 8 kB / 0.9769 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/1.102, allocations: 4.763 MB / 0.9816 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.103, allocations: 0.4915 MB / 0.9821 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/1.104, allocations: 43.98 kB / 0.9821 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/1.106, allocations: 395.4 kB / 0.9825 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004394/1.107, allocations: 156.9 kB / 0.9826 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/1.107, allocations: 68.98 kB / 0.9827 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001021/1.108, allocations: 0.6903 MB / 0.9834 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/1.108, allocations: 0 / 0.9834 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004167/1.112, allocations: 1.191 MB / 0.9846 GB, free: 8.848 MB / 0.7794 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.0003104/1.112, allocations: 159 kB / 0.9847 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01851/1.131, allocations: 8.039 MB / 0.9926 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/1.131, allocations: 0 / 0.9926 GB, free: 0.5977 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006003/1.137, allocations: 2.626 MB / 0.9951 GB, free: 13.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/1.139, allocations: 200.2 kB / 0.9953 GB, free: 13.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/1.158, allocations: 7.323 MB / 1.002 GB, free: 6.32 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/1.16, allocations: 2.306 MB / 1.005 GB, free: 3.977 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003352/1.164, allocations: 1.233 MB / 1.006 GB, free: 2.738 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000533/1.164, allocations: 123.3 kB / 1.006 GB, free: 2.617 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/1.164, allocations: 0 / 1.006 GB, free: 2.617 MB / 0.795 GB Notification: Performance of Templates: time 0.06132/1.226, allocations: 36.59 MB / 1.042 GB, free: 14.21 MB / 0.8419 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)