Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.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.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009544/0.0009545, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0012/0.0012, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 270.5 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9923/0.9923, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006075/0.0006075, allocations: 12.66 kB / 0.598 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.17, allocations: 88.55 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta): time 0.005097/0.1751, allocations: 4.618 MB / 0.689 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.1775, allocations: 1.587 MB / 0.6906 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1776, allocations: 15.94 kB / 0.6906 GB, free: 9.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.1779, allocations: 103.8 kB / 0.6907 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.1783, allocations: 193.6 kB / 0.6909 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003897/0.1787, allocations: 163.6 kB / 0.691 GB, free: 8.789 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.1804, allocations: 1.974 MB / 0.6929 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003627/0.1841, allocations: 2.735 MB / 0.6956 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.1847, allocations: 0.5256 MB / 0.6961 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008925/0.1856, allocations: 0.7752 MB / 0.6969 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.1858, allocations: 84 kB / 0.697 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.1861, allocations: 167.9 kB / 0.6971 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005148/0.1866, allocations: 0.6042 MB / 0.6977 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.1869, allocations: 249.2 kB / 0.6979 GB, free: 1.668 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001686/0.1886, allocations: 2.256 MB / 0.7002 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1886, allocations: 0 / 0.7002 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1886, allocations: 0 / 0.7002 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.1886, allocations: 0 / 0.7002 GB, free: 15.41 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.001764/0.1904, allocations: 1.156 MB / 0.7013 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1904, allocations: 8.031 kB / 0.7013 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.1919, allocations: 310.3 kB / 0.7016 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.1928, allocations: 0.7104 MB / 0.7023 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.822e-05/0.1929, allocations: 94.5 kB / 0.7024 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.1931, allocations: 120 kB / 0.7025 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003149/0.1963, allocations: 2.121 MB / 0.7046 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.1963, allocations: 0 / 0.7046 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.1965, allocations: 52 kB / 0.7046 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-05/0.1965, allocations: 62.05 kB / 0.7047 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.1992, allocations: 1.858 MB / 0.7065 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008498/0.2077, allocations: 7.76 MB / 0.7141 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.208, allocations: 126.4 kB / 0.7142 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.2081, allocations: 75.52 kB / 0.7142 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.2082, allocations: 85.09 kB / 0.7143 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.2082, allocations: 46.5 kB / 0.7144 GB, free: 0 / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.2083, allocations: 112 / 0.7144 GB, free: 16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0005381/0.2088, allocations: 268.8 kB / 0.7146 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.2089, allocations: 132.5 kB / 0.7148 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.2101, allocations: 0.9082 MB / 0.7156 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.2101, allocations: 30.08 kB / 0.7157 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.2106, allocations: 0.7664 MB / 0.7164 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.2107, allocations: 51.62 kB / 0.7165 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.2108, allocations: 24 kB / 0.7165 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.211, allocations: 370.7 kB / 0.7168 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.2116, allocations: 422.3 kB / 0.7172 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2127, allocations: 1.165 MB / 0.7184 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/0.2136, allocations: 0.7207 MB / 0.7191 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.2136, allocations: 12 kB / 0.7191 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002053/0.2157, allocations: 1.527 MB / 0.7206 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.2157, allocations: 16 kB / 0.7206 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.2158, allocations: 27.98 kB / 0.7206 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.582e-05/0.2158, allocations: 44.06 kB / 0.7207 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.2166, allocations: 283.4 kB / 0.7209 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-05/0.2167, allocations: 47.84 kB / 0.721 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.2174, allocations: 198.1 kB / 0.7212 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.2175, allocations: 72 kB / 0.7213 GB, free: 8.504 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 (147): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007488/0.2182, allocations: 0.6336 MB / 0.7219 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.2184, allocations: 63.34 kB / 0.7219 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.2186, allocations: 133.6 kB / 0.7221 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2186, allocations: 0 / 0.7221 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2186, allocations: 0 / 0.7221 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2186, allocations: 4 kB / 0.7221 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009867/0.2196, allocations: 0.7744 MB / 0.7228 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2197, allocations: 7.938 kB / 0.7228 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.2197, allocations: 8.25 kB / 0.7228 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.2197, allocations: 4 kB / 0.7228 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.2197, allocations: 4 kB / 0.7228 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2197, allocations: 3.938 kB / 0.7228 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2197, allocations: 0 / 0.7228 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.22, allocations: 369.4 kB / 0.7232 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2201, allocations: 156.5 kB / 0.7233 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.2202, allocations: 4 kB / 0.7234 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.2204, allocations: 15.97 kB / 0.7234 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.2205, allocations: 0 / 0.7234 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.2205, allocations: 0 / 0.7234 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007063/0.2212, allocations: 0.6356 MB / 0.724 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.703e-06/0.2212, allocations: 0 / 0.724 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001058/0.2223, allocations: 290.8 kB / 0.7243 GB, free: 5.293 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001574/0.2224, allocations: 107.2 kB / 0.7244 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2235, allocations: 0.7188 MB / 0.7251 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2235, allocations: 0 / 0.7251 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.661e-05/0.2235, allocations: 15.98 kB / 0.7251 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/0.2241, allocations: 50.97 kB / 0.7251 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.2271, allocations: 1.985 MB / 0.7271 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000955/0.2281, allocations: 1.284 MB / 0.7283 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007449/0.2289, allocations: 361.2 kB / 0.7287 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.2289, allocations: 43.44 kB / 0.7287 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of SimCode: time 2.304e-06/0.2289, allocations: 0 / 0.7287 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of Templates: time 0.009645/0.2386, allocations: 4.622 MB / 0.7332 GB, free: 12.09 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Interfaces.Examples.WyeToDelta.pipe 2>&1)