Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006919/0.00692, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001187/0.001187, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.596/1.596, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 251.7 MB / 0.5094 GB, free: 432 kB / 430.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.001646/0.001646, allocations: 75.89 kB / 0.7258 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7258/0.7275, allocations: 104.7 MB / 0.8281 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01901/0.7465, allocations: 15.7 MB / 0.8434 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.7567, allocations: 5.795 MB / 0.8491 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.7582, allocations: 39.94 kB / 0.8491 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003259/0.7615, allocations: 1.264 MB / 0.8503 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002985/0.7645, allocations: 1.004 MB / 0.8513 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003016/0.7676, allocations: 1.013 MB / 0.8523 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004522/0.7721, allocations: 3.983 MB / 0.8562 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005236/0.7774, allocations: 5.04 MB / 0.8611 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002692/0.7801, allocations: 1.745 MB / 0.8628 GB, free: 14.83 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.7828, allocations: 2.088 MB / 0.8648 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.7833, allocations: 404 kB / 0.8652 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.7853, allocations: 1.077 MB / 0.8663 GB, free: 11.26 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.7868, allocations: 1.63 MB / 0.8679 GB, free: 9.629 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.7888, allocations: 1.595 MB / 0.8694 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.7946, allocations: 5.967 MB / 0.8753 GB, free: 2.043 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7946, allocations: 0 / 0.8753 GB, free: 2.043 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.765e-06/0.7947, allocations: 0 / 0.8753 GB, free: 2.043 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000114/0.7948, allocations: 0 / 0.8753 GB, free: 2.043 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.006247/0.801, allocations: 2.825 MB / 0.878 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8011, allocations: 20.02 kB / 0.878 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.8119, allocations: 1.987 MB / 0.88 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.8156, allocations: 1.546 MB / 0.8815 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.8158, allocations: 209.8 kB / 0.8817 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006999/0.8166, allocations: 260.4 kB / 0.8819 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.8279, allocations: 5.463 MB / 0.8873 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.974e-05/0.828, allocations: 3.938 kB / 0.8873 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003156/0.8283, allocations: 112 kB / 0.8874 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/0.8287, allocations: 196.5 kB / 0.8876 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0125/0.8412, allocations: 5.688 MB / 0.8931 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02138/0.8626, allocations: 21.06 MB / 0.9137 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005327/0.8679, allocations: 3.009 MB / 0.9166 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005243/0.8732, allocations: 2.133 MB / 0.9187 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002282/0.8735, allocations: 122 kB / 0.9188 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.8735, allocations: 63.48 kB / 0.9189 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=139): time 4.288e-06/0.8736, allocations: 0 / 0.9189 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=181): time 0.03795/0.9115, allocations: 12.83 MB / 0.9314 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.9117, allocations: 222.9 kB / 0.9316 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.9131, allocations: 0.9765 MB / 0.9326 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.9133, allocations: 53.7 kB / 0.9326 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006284/0.9139, allocations: 1.104 MB / 0.9337 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005258/0.9145, allocations: 0.6123 MB / 0.9343 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007217/0.9152, allocations: 471.9 kB / 0.9348 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.9153, allocations: 342 kB / 0.9351 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004497/0.9198, allocations: 1.923 MB / 0.937 GB, free: 432 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004946/0.9248, allocations: 2.497 MB / 0.9394 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009673/0.9345, allocations: 4.458 MB / 0.9438 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.9345, allocations: 4 kB / 0.9438 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01302/0.9475, allocations: 5.524 MB / 0.9492 GB, free: 3.422 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.9476, allocations: 12 kB / 0.9492 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/0.9477, allocations: 16 kB / 0.9492 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/0.9508, allocations: 1.221 MB / 0.9504 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003311/0.9542, allocations: 0.7448 MB / 0.9511 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.9688, allocations: 11.42 MB / 0.9623 GB, free: 5.723 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/0.9722, allocations: 451.2 kB / 0.9627 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004833/0.9727, allocations: 119.9 kB / 0.9628 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006982/0.9797, allocations: 2.94 MB / 0.9657 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005278/0.985, allocations: 2.493 MB / 0.9681 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009975/0.995, allocations: 4.435 MB / 0.9724 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.739e-05/0.9951, allocations: 8 kB / 0.9724 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01367/1.009, allocations: 5.451 MB / 0.9778 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/1.009, allocations: 15.94 kB / 0.9778 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/1.009, allocations: 20 kB / 0.9778 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/1.012, allocations: 1.126 MB / 0.9789 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003446/1.015, allocations: 0.7448 MB / 0.9796 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.03, allocations: 11.22 MB / 0.9906 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/1.034, allocations: 447.3 kB / 0.991 GB, free: 7.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005558/1.034, allocations: 115.9 kB / 0.9911 GB, free: 7.332 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (220): * Single equations (assignments): 218 * 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 {(5,31,92.0%), (6,30,83.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001003/1.035, allocations: 311.6 kB / 0.9914 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/1.036, allocations: 134.4 kB / 0.9916 GB, free: 6.887 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01283/1.049, allocations: 5.194 MB / 0.9966 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/1.049, allocations: 28 kB / 0.9967 GB, free: 1.613 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/1.049, allocations: 15.94 kB / 0.9967 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/1.049, allocations: 11.97 kB / 0.9967 GB, free: 1.586 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/1.068, allocations: 8.849 MB / 1.005 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.407e-05/1.068, allocations: 16 kB / 1.005 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.071, allocations: 0.542 MB / 1.006 GB, free: 8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002752/1.073, allocations: 0.9581 MB / 1.007 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002855/1.074, allocations: 63.95 kB / 1.007 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.089, allocations: 10.87 MB / 1.017 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/1.089, allocations: 11.94 kB / 1.017 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/1.101, allocations: 4.839 MB / 1.022 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.102, allocations: 0.5072 MB / 1.023 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000435/1.103, allocations: 36 kB / 1.023 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/1.105, allocations: 407.3 kB / 1.023 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004391/1.106, allocations: 156.9 kB / 1.023 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.106, allocations: 71.95 kB / 1.023 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001134/1.107, allocations: 0.7215 MB / 1.024 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/1.107, allocations: 0 / 1.024 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004941/1.112, allocations: 1.188 MB / 1.025 GB, free: 3.734 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (109): * Single equations (assignments): 107 * 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%), (7,29,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000419/1.113, allocations: 167.9 kB / 1.025 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02015/1.133, allocations: 8.131 MB / 1.033 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/1.133, allocations: 0 / 1.033 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.006786/1.14, allocations: 2.677 MB / 1.036 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/1.142, allocations: 212.8 kB / 1.036 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02322/1.165, allocations: 7.22 MB / 1.043 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/1.169, allocations: 2.236 MB / 1.045 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.004137/1.173, allocations: 1.276 MB / 1.047 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006501/1.174, allocations: 127.3 kB / 1.047 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of SimCode: time 9.21e-07/1.174, allocations: 0 / 1.047 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.06825/1.242, allocations: 37.67 MB / 1.084 GB, free: 7.914 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)