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.0016/0.0016, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.001755/0.001755, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.83/1.83, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001432/0.001432, allocations: 63.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2645, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.4201/0.6846, allocations: 15.71 MB / 0.8001 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01184/0.6965, allocations: 5.79 MB / 0.8058 GB, free: 37.92 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002302/0.6989, allocations: 46.06 kB / 0.8058 GB, free: 37.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0056/0.7045, allocations: 1.243 MB / 0.807 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004531/0.7091, allocations: 0.9947 MB / 0.808 GB, free: 36.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00463/0.7137, allocations: 1.026 MB / 0.809 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008688/0.7224, allocations: 3.966 MB / 0.8129 GB, free: 34.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009704/0.7322, allocations: 5.097 MB / 0.8179 GB, free: 32.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004586/0.7368, allocations: 1.729 MB / 0.8196 GB, free: 31.83 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007448/0.7443, allocations: 2.082 MB / 0.8216 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002639/0.747, allocations: 409 kB / 0.822 GB, free: 30.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005742/0.7528, allocations: 1.092 MB / 0.823 GB, free: 30.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004275/0.757, allocations: 1.621 MB / 0.8246 GB, free: 30.03 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006542/0.7636, allocations: 1.598 MB / 0.8262 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.7794, allocations: 5.959 MB / 0.832 GB, free: 27.17 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.7794, allocations: 0 / 0.832 GB, free: 27.17 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.025e-06/0.7795, allocations: 3.938 kB / 0.832 GB, free: 27.17 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002283/0.7797, allocations: 1.984 kB / 0.832 GB, free: 27.17 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.01105/0.7908, allocations: 2.827 MB / 0.8348 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.7908, allocations: 8.938 kB / 0.8348 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/0.8035, allocations: 2 MB / 0.8367 GB, free: 25.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004751/0.8083, allocations: 1.551 MB / 0.8382 GB, free: 24.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002678/0.8086, allocations: 203.7 kB / 0.8384 GB, free: 24.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.8099, allocations: 263.2 kB / 0.8387 GB, free: 24.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01341/0.8233, allocations: 5.46 MB / 0.844 GB, free: 21.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.918e-05/0.8234, allocations: 4.906 kB / 0.844 GB, free: 21.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.8238, allocations: 112.7 kB / 0.8441 GB, free: 21.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003673/0.8241, allocations: 197.1 kB / 0.8443 GB, free: 21.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.8382, allocations: 5.692 MB / 0.8499 GB, free: 18.43 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02684/0.865, allocations: 21.06 MB / 0.8705 GB, free: 15.99 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006254/0.8713, allocations: 3 MB / 0.8734 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005746/0.8771, allocations: 2.11 MB / 0.8754 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.8774, allocations: 122 kB / 0.8756 GB, free: 11.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.143e-05/0.8775, allocations: 55.5 kB / 0.8756 GB, free: 11.44 MB / 0.67 GB Notification: Performance of pre-optimization done (n=139): time 4.268e-06/0.8775, allocations: 4 kB / 0.8756 GB, free: 11.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=181): time 0.04423/0.9218, allocations: 12.81 MB / 0.8881 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.922, allocations: 230.9 kB / 0.8883 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.9237, allocations: 0.9765 MB / 0.8893 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003752/0.9241, allocations: 53.7 kB / 0.8894 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008465/0.925, allocations: 1.104 MB / 0.8904 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009386/0.9259, allocations: 0.6201 MB / 0.891 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001239/0.9272, allocations: 471.9 kB / 0.8915 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.9274, allocations: 337.9 kB / 0.8918 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005246/0.9326, allocations: 1.923 MB / 0.8937 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005584/0.9382, allocations: 2.513 MB / 0.8961 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.9487, allocations: 4.447 MB / 0.9005 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-05/0.9487, allocations: 8 kB / 0.9005 GB, free: 1.309 MB / 0.6856 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01413/0.9629, allocations: 5.52 MB / 0.9059 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.9629, allocations: 12 kB / 0.9059 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/0.963, allocations: 16.55 kB / 0.9059 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003421/0.9664, allocations: 1.218 MB / 0.9071 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/0.97, allocations: 0.7415 MB / 0.9078 GB, free: 9.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/0.9868, allocations: 11.43 MB / 0.919 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/0.9908, allocations: 447.2 kB / 0.9194 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007057/0.9915, allocations: 115.9 kB / 0.9195 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008355/0.9999, allocations: 2.942 MB / 0.9224 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005791/1.006, allocations: 2.49 MB / 0.9248 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01084/1.017, allocations: 4.435 MB / 0.9292 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.634e-05/1.017, allocations: 4 kB / 0.9292 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01445/1.031, allocations: 5.45 MB / 0.9345 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/1.031, allocations: 20.72 kB / 0.9345 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/1.031, allocations: 16.28 kB / 0.9345 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/1.034, allocations: 1.126 MB / 0.9356 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/1.038, allocations: 0.7415 MB / 0.9363 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/1.055, allocations: 11.24 MB / 0.9473 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003755/1.059, allocations: 451.2 kB / 0.9477 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000609/1.059, allocations: 111.9 kB / 0.9479 GB, free: 15.68 MB / 0.7481 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.001097/1.06, allocations: 311.6 kB / 0.9481 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007526/1.061, allocations: 130.4 kB / 0.9483 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.076, allocations: 5.199 MB / 0.9533 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/1.076, allocations: 20 kB / 0.9534 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-05/1.076, allocations: 19.94 kB / 0.9534 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/1.076, allocations: 11.97 kB / 0.9534 GB, free: 9.945 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.096, allocations: 8.845 MB / 0.962 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.097e-05/1.096, allocations: 11.94 kB / 0.962 GB, free: 0.9062 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/1.099, allocations: 0.5381 MB / 0.9626 GB, free: 376 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/1.102, allocations: 0.97 MB / 0.9635 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/1.102, allocations: 61.08 kB / 0.9636 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01569/1.118, allocations: 10.87 MB / 0.9742 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.118, allocations: 11.94 kB / 0.9742 GB, free: 4.164 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.131, allocations: 4.835 MB / 0.9789 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.132, allocations: 0.4994 MB / 0.9794 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00077/1.133, allocations: 51.92 kB / 0.9795 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/1.136, allocations: 395.4 kB / 0.9798 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005116/1.137, allocations: 168.7 kB / 0.98 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.137, allocations: 71.89 kB / 0.9801 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001346/1.138, allocations: 0.7254 MB / 0.9808 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/1.138, allocations: 0 / 0.9808 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005671/1.144, allocations: 1.191 MB / 0.9819 GB, free: 12.09 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.0004491/1.145, allocations: 159 kB / 0.9821 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02194/1.167, allocations: 8.124 MB / 0.99 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.167, allocations: 0 / 0.99 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.007124/1.174, allocations: 2.67 MB / 0.9926 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.176, allocations: 203 kB / 0.9928 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/1.2, allocations: 7.677 MB / 1 GB, free: 9.047 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/1.203, allocations: 2.283 MB / 1.003 GB, free: 6.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.205, allocations: 167.2 kB / 1.003 GB, free: 6.566 MB / 0.795 GB Notification: Performance of SimCode: time 8.62e-07/1.205, allocations: 0 / 1.003 GB, free: 6.566 MB / 0.795 GB Notification: Performance of Templates: time 0.08386/1.289, allocations: 63.91 MB / 1.065 GB, free: 6.594 MB / 0.8575 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)