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.001383/0.001383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001622/0.001622, allocations: 193.5 kB / 16.14 MB, free: 6.707 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 294.7 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9861/0.9861, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 93.02 kB / 0.5945 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1517, allocations: 86.99 MB / 0.6795 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.003905/0.1557, allocations: 2.837 MB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.1585, allocations: 2.038 MB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.596e-05/0.1586, allocations: 8 kB / 0.6842 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006813/0.1593, allocations: 223.2 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.1596, allocations: 179.4 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.1602, allocations: 239.5 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.1606, allocations: 450.8 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003262/0.1609, allocations: 154 kB / 0.6854 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1611, allocations: 107.6 kB / 0.6855 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.1613, allocations: 155.5 kB / 0.6857 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.294e-05/0.1614, allocations: 15.94 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006148/0.162, allocations: 451.2 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1621, allocations: 87.77 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1622, allocations: 111.4 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005419/0.1628, allocations: 478.6 kB / 0.6868 GB, free: 9.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1628, allocations: 3.984 kB / 0.6868 GB, free: 9.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1628, allocations: 0 / 0.6868 GB, free: 9.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1628, allocations: 0 / 0.6868 GB, free: 9.648 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.0009452/0.1637, allocations: 0.5499 MB / 0.6873 GB, free: 9.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1638, allocations: 8.031 kB / 0.6873 GB, free: 9.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/0.1646, allocations: 108.5 kB / 0.6874 GB, free: 8.938 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.1648, allocations: 263.8 kB / 0.6877 GB, free: 8.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.1649, allocations: 12.81 kB / 0.6877 GB, free: 8.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.1649, allocations: 32.02 kB / 0.6877 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.1655, allocations: 385.9 kB / 0.6881 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1656, allocations: 0 / 0.6881 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.1656, allocations: 11.98 kB / 0.6881 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.363e-05/0.1657, allocations: 19.98 kB / 0.6881 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006352/0.1663, allocations: 363.6 kB / 0.6884 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.1682, allocations: 1.733 MB / 0.6901 GB, free: 5.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.1688, allocations: 333 kB / 0.6905 GB, free: 5.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.1691, allocations: 189.6 kB / 0.6906 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.1693, allocations: 89.09 kB / 0.6907 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1693, allocations: 38.56 kB / 0.6908 GB, free: 5.242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.1693, allocations: 0 / 0.6908 GB, free: 5.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007072/0.1764, allocations: 1.915 MB / 0.6926 GB, free: 3.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1765, allocations: 85.05 kB / 0.6927 GB, free: 3.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.1766, allocations: 175.8 kB / 0.6929 GB, free: 3.039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.1767, allocations: 37.64 kB / 0.6929 GB, free: 2.996 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.1768, allocations: 152.4 kB / 0.6931 GB, free: 2.844 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.461e-05/0.1769, allocations: 126.2 kB / 0.6932 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.177, allocations: 73.69 kB / 0.6933 GB, free: 2.641 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1771, allocations: 330.8 kB / 0.6936 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.1776, allocations: 252.7 kB / 0.6938 GB, free: 2.059 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.1781, allocations: 329.5 kB / 0.6941 GB, free: 1.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009639/0.1791, allocations: 0.6001 MB / 0.6947 GB, free: 1.074 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1791, allocations: 7.938 kB / 0.6947 GB, free: 1.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001141/0.1802, allocations: 0.6425 MB / 0.6953 GB, free: 428 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1803, allocations: 4 kB / 0.6953 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1803, allocations: 4 kB / 0.6954 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1803, allocations: 4 kB / 0.6954 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008875/0.1812, allocations: 147.8 kB / 0.6955 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1812, allocations: 4 kB / 0.6955 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.1816, allocations: 52.11 kB / 0.6955 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.1816, allocations: 16 kB / 0.6956 GB, free: 196 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005554/0.1822, allocations: 360.6 kB / 0.6959 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004781/0.1827, allocations: 329.8 kB / 0.6962 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009301/0.1836, allocations: 0.563 MB / 0.6968 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.1836, allocations: 0 / 0.6968 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001147/0.1848, allocations: 0.6102 MB / 0.6974 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.1848, allocations: 8 kB / 0.6974 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1848, allocations: 4 kB / 0.6974 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.16e-06/0.1848, allocations: 4 kB / 0.6974 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008232/0.1857, allocations: 152 kB / 0.6975 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1857, allocations: 7.938 kB / 0.6975 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.1861, allocations: 47.94 kB / 0.6976 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.1861, allocations: 15.98 kB / 0.6976 GB, free: 14.04 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.000144/0.1863, allocations: 204.8 kB / 0.6978 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-05/0.1864, allocations: 19.72 kB / 0.6978 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1876, allocations: 0.6762 MB / 0.6985 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1877, allocations: 4 kB / 0.6985 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1877, allocations: 0 / 0.6985 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1877, allocations: 7.984 kB / 0.6985 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.1898, allocations: 1.365 MB / 0.6998 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1898, allocations: 0 / 0.6998 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/0.1904, allocations: 127.8 kB / 0.6999 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1905, allocations: 4 kB / 0.6999 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1905, allocations: 8.25 kB / 0.6999 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.1905, allocations: 11.94 kB / 0.7 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1905, allocations: 0 / 0.7 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009743/0.1915, allocations: 0.7189 MB / 0.7007 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.1916, allocations: 136.8 kB / 0.7008 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/0.1917, allocations: 12 kB / 0.7008 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003328/0.192, allocations: 43.88 kB / 0.7008 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.1921, allocations: 27.97 kB / 0.7009 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.1922, allocations: 12 kB / 0.7009 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001208/0.1923, allocations: 144.9 kB / 0.701 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.633e-06/0.1923, allocations: 0 / 0.701 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006062/0.1929, allocations: 147.9 kB / 0.7012 GB, free: 10.21 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.0002168/0.1931, allocations: 144.5 kB / 0.7013 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.1947, allocations: 0.8333 MB / 0.7021 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1947, allocations: 0 / 0.7021 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004522/0.1952, allocations: 256.2 kB / 0.7024 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.1957, allocations: 49.94 kB / 0.7024 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1969, allocations: 0.8169 MB / 0.7032 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.1973, allocations: 0.776 MB / 0.704 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000528/0.1978, allocations: 182.7 kB / 0.7041 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.198, allocations: 27.44 kB / 0.7042 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.198, allocations: 0 / 0.7042 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.007886/0.2059, allocations: 4.56 MB / 0.7086 GB, free: 2.547 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)