Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007975/0.0007975, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004923/0.004923, allocations: 171 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 273.8 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9406/0.9406, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 20.5 kB / 0.5987 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1761, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD): time 0.01703/0.1932, allocations: 15.09 MB / 0.6999 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008975/0.2022, allocations: 5.7 MB / 0.7054 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009661/0.2032, allocations: 35.94 kB / 0.7055 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.204, allocations: 282 kB / 0.7057 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.2062, allocations: 0.9377 MB / 0.7067 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.2082, allocations: 0.7513 MB / 0.7074 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00582/0.214, allocations: 6.013 MB / 0.7133 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009027/0.2231, allocations: 6.256 MB / 0.7194 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.2255, allocations: 1.199 MB / 0.7205 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.2284, allocations: 1.807 MB / 0.7223 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003165/0.2288, allocations: 180 kB / 0.7225 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.2307, allocations: 1.041 MB / 0.7235 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00144/0.2322, allocations: 1.341 MB / 0.7248 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.2335, allocations: 1.3 MB / 0.7261 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00553/0.2391, allocations: 5.709 MB / 0.7317 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2391, allocations: 3.938 kB / 0.7317 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2391, allocations: 3.938 kB / 0.7317 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001096/0.2392, allocations: 0 / 0.7317 GB, free: 15.25 MB / 0.5294 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.004892/0.2441, allocations: 2.283 MB / 0.7339 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2442, allocations: 8.031 kB / 0.7339 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.2552, allocations: 2.003 MB / 0.7359 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.2581, allocations: 1.534 MB / 0.7374 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.2582, allocations: 201.8 kB / 0.7375 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005323/0.2588, allocations: 268.3 kB / 0.7378 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.2702, allocations: 5.471 MB / 0.7431 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.171e-05/0.2702, allocations: 0 / 0.7431 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.2706, allocations: 112 kB / 0.7433 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003083/0.2709, allocations: 192.5 kB / 0.7434 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/0.2848, allocations: 5.696 MB / 0.749 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/0.3084, allocations: 21.28 MB / 0.7698 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005586/0.3141, allocations: 2.99 MB / 0.7727 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005094/0.3192, allocations: 2.098 MB / 0.7747 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.3194, allocations: 118 kB / 0.7749 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.3194, allocations: 55.5 kB / 0.7749 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=139): time 3.878e-06/0.3195, allocations: 3.938 kB / 0.7749 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=181): time 0.3563/0.6757, allocations: 12.94 MB / 0.7876 GB, free: 85.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.6759, allocations: 231.2 kB / 0.7878 GB, free: 84.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.6774, allocations: 0.9904 MB / 0.7887 GB, free: 84.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004139/0.6778, allocations: 51.42 kB / 0.7888 GB, free: 84.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007135/0.6785, allocations: 1.102 MB / 0.7899 GB, free: 83.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000761/0.6793, allocations: 0.6178 MB / 0.7905 GB, free: 83.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.6796, allocations: 185.5 kB / 0.7906 GB, free: 83.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.6797, allocations: 331.9 kB / 0.791 GB, free: 82.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005229/0.6849, allocations: 1.916 MB / 0.7928 GB, free: 82.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005273/0.6902, allocations: 2.507 MB / 0.7953 GB, free: 80.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.7006, allocations: 4.452 MB / 0.7996 GB, free: 78.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-05/0.7006, allocations: 5.406 kB / 0.7996 GB, free: 78.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01363/0.7143, allocations: 5.533 MB / 0.805 GB, free: 76.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000352/0.7147, allocations: 0.609 MB / 0.8056 GB, free: 75.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.7147, allocations: 17.59 kB / 0.8057 GB, free: 75.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/0.718, allocations: 1.217 MB / 0.8068 GB, free: 75.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/0.7216, allocations: 0.7425 MB / 0.8076 GB, free: 74.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.7338, allocations: 10.5 MB / 0.8178 GB, free: 67.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/0.7372, allocations: 457.4 kB / 0.8183 GB, free: 67.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003138/0.7375, allocations: 110.5 kB / 0.8184 GB, free: 67.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.7375, allocations: 3.719 kB / 0.8184 GB, free: 67.09 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01189/0.7494, allocations: 5.35 MB / 0.8236 GB, free: 62.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-05/0.7495, allocations: 16 kB / 0.8236 GB, free: 62.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.7519, allocations: 0.9493 MB / 0.8245 GB, free: 61.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.7553, allocations: 0.7487 MB / 0.8253 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.7669, allocations: 10.35 MB / 0.8354 GB, free: 50.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/0.7703, allocations: 447.1 kB / 0.8358 GB, free: 49.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004892/0.7708, allocations: 115.9 kB / 0.8359 GB, free: 49.65 MB / 0.5606 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.002088/0.7729, allocations: 1.22 MB / 0.8371 GB, free: 48.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004811/0.7734, allocations: 122.6 kB / 0.8372 GB, free: 48.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.7849, allocations: 5.211 MB / 0.8423 GB, free: 43.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.7849, allocations: 21.92 kB / 0.8423 GB, free: 43.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.785, allocations: 16 kB / 0.8423 GB, free: 43.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/0.785, allocations: 11.97 kB / 0.8424 GB, free: 43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.8007, allocations: 8.86 MB / 0.851 GB, free: 34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.8007, allocations: 8 kB / 0.851 GB, free: 33.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/0.8033, allocations: 0.5469 MB / 0.8515 GB, free: 33.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002441/0.8057, allocations: 0.962 MB / 0.8525 GB, free: 32.47 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.806, allocations: 59.95 kB / 0.8525 GB, free: 32.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.8174, allocations: 9.978 MB / 0.8623 GB, free: 22.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.8174, allocations: 11.94 kB / 0.8623 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.8287, allocations: 4.838 MB / 0.867 GB, free: 17.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/0.8299, allocations: 0.5422 MB / 0.8676 GB, free: 16.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004815/0.8304, allocations: 39.94 kB / 0.8676 GB, free: 16.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/0.8332, allocations: 399.3 kB / 0.868 GB, free: 16.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003973/0.8337, allocations: 160.8 kB / 0.8681 GB, free: 16.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001864/0.8339, allocations: 67.91 kB / 0.8682 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001026/0.8349, allocations: 0.7293 MB / 0.8689 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.82e-07/0.8349, allocations: 0 / 0.8689 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004217/0.8391, allocations: 1.186 MB / 0.8701 GB, free: 14.08 MB / 0.5606 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.0003006/0.8394, allocations: 151 kB / 0.8702 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01764/0.8571, allocations: 8.151 MB / 0.8782 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.8572, allocations: 0 / 0.8782 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006064/0.8632, allocations: 2.673 MB / 0.8808 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.866, allocations: 204.3 kB / 0.881 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.8863, allocations: 8.423 MB / 0.8892 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002431/0.8887, allocations: 2.232 MB / 0.8914 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003882/0.8927, allocations: 1.285 MB / 0.8926 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006001/0.8933, allocations: 127.3 kB / 0.8927 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of SimCode: time 1.483e-06/0.8933, allocations: 0 / 0.8927 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of Templates: time 0.05453/0.9478, allocations: 35.19 MB / 0.9271 GB, free: 3.602 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerDD.pipe 2>&1)