Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007502/0.0007504, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0008563/0.0008563, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002944/0.002944, allocations: 266.8 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004401, allocations: 15.88 kB / 0.5987 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1647, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003025/0.1677, allocations: 2.49 MB / 0.6876 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1705, allocations: 1.999 MB / 0.6895 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.588e-05/0.1706, allocations: 5.156 kB / 0.6895 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.1707, allocations: 31.72 kB / 0.6896 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004284/0.1712, allocations: 184.9 kB / 0.6897 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000514/0.1717, allocations: 246.1 kB / 0.69 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004155/0.1721, allocations: 454.8 kB / 0.6904 GB, free: 9.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.1727, allocations: 368.1 kB / 0.6908 GB, free: 9.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.1729, allocations: 99.61 kB / 0.6908 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1731, allocations: 147.5 kB / 0.691 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.1732, allocations: 12 kB / 0.691 GB, free: 9 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.1737, allocations: 447.1 kB / 0.6914 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.1738, allocations: 87.72 kB / 0.6915 GB, free: 8.477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.174, allocations: 129.2 kB / 0.6916 GB, free: 8.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1744, allocations: 474.5 kB / 0.6921 GB, free: 7.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1745, allocations: 0 / 0.6921 GB, free: 7.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1745, allocations: 0 / 0.6921 GB, free: 7.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1745, allocations: 0 / 0.6921 GB, free: 7.879 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007812/0.1753, allocations: 0.5186 MB / 0.6926 GB, free: 7.312 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1753, allocations: 12.03 kB / 0.6926 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.176, allocations: 104.5 kB / 0.6927 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1763, allocations: 253.2 kB / 0.6929 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1763, allocations: 20.73 kB / 0.693 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.1764, allocations: 24.12 kB / 0.693 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.177, allocations: 385.9 kB / 0.6934 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.177, allocations: 7.938 kB / 0.6934 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.1771, allocations: 8 kB / 0.6934 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.014e-05/0.1771, allocations: 23.98 kB / 0.6934 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006191/0.1777, allocations: 375.6 kB / 0.6938 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.1795, allocations: 1.73 MB / 0.6954 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.1802, allocations: 345 kB / 0.6958 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.1806, allocations: 193.6 kB / 0.696 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.1807, allocations: 101 kB / 0.6961 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1808, allocations: 38.56 kB / 0.6961 GB, free: 3.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.1808, allocations: 0 / 0.6961 GB, free: 3.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007481/0.1883, allocations: 2.075 MB / 0.6981 GB, free: 1.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1883, allocations: 81.11 kB / 0.6982 GB, free: 1.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.1885, allocations: 175.8 kB / 0.6984 GB, free: 1.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.1886, allocations: 37.64 kB / 0.6984 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.1887, allocations: 148.3 kB / 0.6985 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/0.1888, allocations: 114.3 kB / 0.6986 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.1888, allocations: 37.69 kB / 0.6987 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1889, allocations: 330.8 kB / 0.699 GB, free: 436 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.1894, allocations: 263.8 kB / 0.6992 GB, free: 172 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.1899, allocations: 345.6 kB / 0.6996 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.191, allocations: 0.6196 MB / 0.7002 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.191, allocations: 3.938 kB / 0.7002 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001168/0.1921, allocations: 0.666 MB / 0.7008 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-05/0.1923, allocations: 156.8 kB / 0.701 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.1923, allocations: 4 kB / 0.701 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1923, allocations: 4 kB / 0.701 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.1932, allocations: 147.8 kB / 0.7011 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1932, allocations: 4 kB / 0.7011 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.1936, allocations: 59.92 kB / 0.7012 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.92e-05/0.1937, allocations: 23.92 kB / 0.7012 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1937, allocations: 9.812 kB / 0.7012 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/0.1947, allocations: 0.5855 MB / 0.7018 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1948, allocations: 0 / 0.7018 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.1948, allocations: 7.938 kB / 0.7018 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.1956, allocations: 147.8 kB / 0.7019 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1956, allocations: 11.92 kB / 0.702 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.196, allocations: 60.11 kB / 0.702 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.196, allocations: 12 kB / 0.702 GB, free: 13.21 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001985/0.1963, allocations: 242.3 kB / 0.7023 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/0.1963, allocations: 23.75 kB / 0.7023 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.1977, allocations: 0.6885 MB / 0.703 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1977, allocations: 4 kB / 0.703 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1977, allocations: 0 / 0.703 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.1977, allocations: 3.984 kB / 0.703 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.1998, allocations: 1.392 MB / 0.7043 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1998, allocations: 4 kB / 0.7043 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.2004, allocations: 132.1 kB / 0.7045 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.2004, allocations: 4 kB / 0.7045 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.2005, allocations: 8 kB / 0.7045 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.2005, allocations: 7.938 kB / 0.7045 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2005, allocations: 7.938 kB / 0.7045 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009963/0.2015, allocations: 0.7345 MB / 0.7052 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.2016, allocations: 144.8 kB / 0.7053 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.2017, allocations: 8 kB / 0.7053 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.202, allocations: 47.94 kB / 0.7054 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.2021, allocations: 27.91 kB / 0.7054 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2022, allocations: 8 kB / 0.7054 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001197/0.2023, allocations: 152.9 kB / 0.7056 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2023, allocations: 0 / 0.7056 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006251/0.2029, allocations: 144 kB / 0.7057 GB, free: 9.281 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002017/0.2031, allocations: 140.5 kB / 0.7058 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.2047, allocations: 0.8755 MB / 0.7067 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2047, allocations: 0 / 0.7067 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.2052, allocations: 260.9 kB / 0.7069 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.2058, allocations: 55.8 kB / 0.707 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.207, allocations: 0.8228 MB / 0.7078 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2074, allocations: 0.7877 MB / 0.7086 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000524/0.2079, allocations: 170.8 kB / 0.7087 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.208, allocations: 31.42 kB / 0.7088 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of SimCode: time 6.22e-07/0.2081, allocations: 0 / 0.7088 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.00778/0.2158, allocations: 4.492 MB / 0.7131 GB, free: 1.629 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)