Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.001526/0.001526, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001692/0.001692, allocations: 184 kB / 17.22 MB, free: 5.625 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.538/1.538, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.826/1.826, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001449/0.001449, allocations: 63.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2529, allocations: 114.6 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.4331/0.686, allocations: 15.7 MB / 0.7994 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00835/0.6944, allocations: 5.783 MB / 0.8051 GB, free: 38.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.6958, allocations: 45.88 kB / 0.8051 GB, free: 38.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.6989, allocations: 1.255 MB / 0.8063 GB, free: 37.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.702, allocations: 0.9899 MB / 0.8073 GB, free: 36.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.705, allocations: 1.013 MB / 0.8083 GB, free: 36.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006487/0.7115, allocations: 3.971 MB / 0.8122 GB, free: 34.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006978/0.7185, allocations: 5.101 MB / 0.8172 GB, free: 32.83 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003688/0.7223, allocations: 1.729 MB / 0.8188 GB, free: 32.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.7266, allocations: 2.08 MB / 0.8209 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001638/0.7283, allocations: 404.3 kB / 0.8213 GB, free: 31.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.733, allocations: 1.088 MB / 0.8223 GB, free: 30.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00422/0.7373, allocations: 1.622 MB / 0.8239 GB, free: 30.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00615/0.7435, allocations: 1.599 MB / 0.8255 GB, free: 29.2 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.7555, allocations: 5.965 MB / 0.8313 GB, free: 27.38 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.7556, allocations: 0 / 0.8313 GB, free: 27.38 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.096e-06/0.7556, allocations: 1.281 kB / 0.8313 GB, free: 27.38 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002288/0.7558, allocations: 0 / 0.8313 GB, free: 27.38 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: 729 * Number of variables: 729 Notification: Performance of Generate backend data structure: time 0.01149/0.7673, allocations: 2.836 MB / 0.8341 GB, free: 25.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.7674, allocations: 10.52 kB / 0.8341 GB, free: 25.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01192/0.7793, allocations: 1.991 MB / 0.836 GB, free: 25.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005035/0.7844, allocations: 1.533 MB / 0.8375 GB, free: 24.74 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.7848, allocations: 207.1 kB / 0.8377 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/0.7867, allocations: 263.4 kB / 0.838 GB, free: 24.56 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01684/0.8035, allocations: 5.463 MB / 0.8433 GB, free: 21.72 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/0.8037, allocations: 5.516 kB / 0.8433 GB, free: 21.72 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005229/0.8042, allocations: 115.9 kB / 0.8434 GB, free: 21.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003869/0.8046, allocations: 197.4 kB / 0.8436 GB, free: 21.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.8204, allocations: 5.696 MB / 0.8492 GB, free: 18.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.8474, allocations: 21.05 MB / 0.8697 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.8529, allocations: 2.999 MB / 0.8727 GB, free: 14.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004858/0.8578, allocations: 2.129 MB / 0.8747 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.8581, allocations: 122 kB / 0.8749 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.8582, allocations: 51.56 kB / 0.8749 GB, free: 11.85 MB / 0.67 GB Notification: Performance of pre-optimization done (n=139): time 3.737e-06/0.8582, allocations: 3.938 kB / 0.8749 GB, free: 11.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=181): time 0.03702/0.8952, allocations: 12.81 MB / 0.8874 GB, free: 15 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.8954, allocations: 230.9 kB / 0.8876 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.8969, allocations: 0.9804 MB / 0.8886 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003852/0.8973, allocations: 53.7 kB / 0.8886 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/0.898, allocations: 1.1 MB / 0.8897 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006889/0.8987, allocations: 0.6201 MB / 0.8903 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008062/0.8995, allocations: 475.9 kB / 0.8908 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8997, allocations: 331 kB / 0.8911 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004556/0.9042, allocations: 1.923 MB / 0.893 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004918/0.9092, allocations: 2.505 MB / 0.8954 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009494/0.9187, allocations: 4.458 MB / 0.8998 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.9187, allocations: 4 kB / 0.8998 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01303/0.9318, allocations: 5.517 MB / 0.9052 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.9319, allocations: 19.92 kB / 0.9052 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.071e-05/0.9319, allocations: 20 kB / 0.9052 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003278/0.9352, allocations: 1.214 MB / 0.9064 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003456/0.9387, allocations: 0.737 MB / 0.9071 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/0.9544, allocations: 11.43 MB / 0.9183 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003366/0.9578, allocations: 455.3 kB / 0.9187 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004488/0.9583, allocations: 111.9 kB / 0.9188 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006219/0.9645, allocations: 2.936 MB / 0.9217 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005125/0.9697, allocations: 2.497 MB / 0.9241 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009404/0.9791, allocations: 4.427 MB / 0.9284 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.262e-05/0.9792, allocations: 4 kB / 0.9284 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01306/0.9923, allocations: 5.45 MB / 0.9338 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.9923, allocations: 15.94 kB / 0.9338 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/0.9924, allocations: 16 kB / 0.9338 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/0.995, allocations: 1.13 MB / 0.9349 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.9984, allocations: 0.7448 MB / 0.9356 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.013, allocations: 11.24 MB / 0.9466 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00329/1.016, allocations: 447.2 kB / 0.947 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004093/1.017, allocations: 112.6 kB / 0.9471 GB, free: 104 kB / 0.7325 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.0006869/1.017, allocations: 311.6 kB / 0.9474 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/1.018, allocations: 126.5 kB / 0.9475 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.029, allocations: 5.205 MB / 0.9526 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/1.029, allocations: 16 kB / 0.9526 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/1.029, allocations: 15.94 kB / 0.9527 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.029, allocations: 11.97 kB / 0.9527 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01795/1.047, allocations: 8.866 MB / 0.9613 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/1.047, allocations: 8 kB / 0.9613 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.05, allocations: 0.5421 MB / 0.9619 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002519/1.052, allocations: 0.9621 MB / 0.9628 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002997/1.052, allocations: 59.95 kB / 0.9629 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.067, allocations: 10.86 MB / 0.9735 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/1.067, allocations: 12 kB / 0.9735 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.078, allocations: 4.834 MB / 0.9782 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.079, allocations: 0.5033 MB / 0.9787 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002926/1.079, allocations: 39.94 kB / 0.9787 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.082, allocations: 407.3 kB / 0.9791 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004258/1.082, allocations: 164.8 kB / 0.9793 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.082, allocations: 71.95 kB / 0.9793 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001058/1.083, allocations: 0.7176 MB / 0.98 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/1.083, allocations: 0 / 0.98 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005213/1.089, allocations: 1.188 MB / 0.9812 GB, free: 12.53 MB / 0.7794 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.0005261/1.089, allocations: 167.7 kB / 0.9814 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01897/1.108, allocations: 8.129 MB / 0.9893 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.108, allocations: 0 / 0.9893 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006315/1.115, allocations: 2.673 MB / 0.9919 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.116, allocations: 198.8 kB / 0.9921 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/1.135, allocations: 7.23 MB / 0.9992 GB, free: 9.926 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/1.138, allocations: 2.232 MB / 1.001 GB, free: 7.66 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003465/1.141, allocations: 1.286 MB / 1.003 GB, free: 6.371 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005274/1.142, allocations: 127.3 kB / 1.003 GB, free: 6.246 MB / 0.795 GB Notification: Performance of SimCode: time 9.32e-07/1.142, allocations: 0 / 1.003 GB, free: 6.246 MB / 0.795 GB Notification: Performance of Templates: time 0.0638/1.205, allocations: 36.87 MB / 1.039 GB, free: 1.527 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)