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.001071/0.001071, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.371 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: 290.6 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.921/0.921, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 100.2 kB / 0.5952 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1455, allocations: 86.99 MB / 0.6802 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004353/0.1499, allocations: 2.795 MB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.1528, allocations: 2.019 MB / 0.6849 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.153, allocations: 4 kB / 0.6849 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.1538, allocations: 232.6 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.1542, allocations: 200.5 kB / 0.6853 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.1549, allocations: 279.2 kB / 0.6856 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.1553, allocations: 307.1 kB / 0.6859 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.1556, allocations: 158 kB / 0.686 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1558, allocations: 127.5 kB / 0.6861 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.1561, allocations: 151.5 kB / 0.6863 GB, free: 10.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.1561, allocations: 16 kB / 0.6863 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006106/0.1568, allocations: 391.2 kB / 0.6867 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1569, allocations: 91.78 kB / 0.6868 GB, free: 9.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.157, allocations: 119.4 kB / 0.6869 GB, free: 9.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.1577, allocations: 462.6 kB / 0.6873 GB, free: 9.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1577, allocations: 4 kB / 0.6873 GB, free: 9.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1577, allocations: 0 / 0.6873 GB, free: 9.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1577, allocations: 0 / 0.6873 GB, free: 9.363 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.0009403/0.1586, allocations: 0.5498 MB / 0.6879 GB, free: 8.766 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1587, allocations: 8.031 kB / 0.6879 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.1595, allocations: 112.5 kB / 0.688 GB, free: 8.648 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1598, allocations: 249.2 kB / 0.6882 GB, free: 8.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1598, allocations: 16.81 kB / 0.6882 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.1598, allocations: 39.95 kB / 0.6883 GB, free: 8.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006059/0.1605, allocations: 374 kB / 0.6886 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1605, allocations: 7.922 kB / 0.6886 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.1605, allocations: 12 kB / 0.6886 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/0.1606, allocations: 23.98 kB / 0.6887 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006268/0.1612, allocations: 355.7 kB / 0.689 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.1631, allocations: 1.733 MB / 0.6907 GB, free: 5.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006432/0.1637, allocations: 341 kB / 0.691 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/0.1641, allocations: 185.6 kB / 0.6912 GB, free: 5.109 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.1642, allocations: 89.09 kB / 0.6913 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1642, allocations: 34.56 kB / 0.6913 GB, free: 4.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.634e-06/0.1642, allocations: 0 / 0.6913 GB, free: 4.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007276/0.1715, allocations: 1.91 MB / 0.6932 GB, free: 3.043 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1716, allocations: 85.11 kB / 0.6933 GB, free: 2.941 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.1718, allocations: 180 kB / 0.6934 GB, free: 2.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.1718, allocations: 33.69 kB / 0.6935 GB, free: 2.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.932e-05/0.1719, allocations: 152.4 kB / 0.6936 GB, free: 2.566 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.172, allocations: 118.2 kB / 0.6937 GB, free: 2.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.1722, allocations: 73.69 kB / 0.6938 GB, free: 2.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.1723, allocations: 334.8 kB / 0.6941 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.1727, allocations: 252.7 kB / 0.6944 GB, free: 1.785 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.1733, allocations: 345.4 kB / 0.6947 GB, free: 1.414 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009844/0.1743, allocations: 0.5917 MB / 0.6953 GB, free: 0.793 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1743, allocations: 3.938 kB / 0.6953 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00118/0.1755, allocations: 0.6391 MB / 0.6959 GB, free: 148 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1755, allocations: 8 kB / 0.6959 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1755, allocations: 4 kB / 0.6959 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.1755, allocations: 4 kB / 0.6959 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000892/0.1764, allocations: 156.1 kB / 0.6961 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1765, allocations: 4 kB / 0.6961 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.1769, allocations: 47.86 kB / 0.6961 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.821e-05/0.1769, allocations: 16 kB / 0.6961 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005362/0.1775, allocations: 356.6 kB / 0.6965 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005011/0.178, allocations: 333.8 kB / 0.6968 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009317/0.1789, allocations: 0.5744 MB / 0.6973 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.1789, allocations: 0 / 0.6973 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001117/0.18, allocations: 0.6104 MB / 0.6979 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.1801, allocations: 8.281 kB / 0.6979 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1801, allocations: 4 kB / 0.6979 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.992e-06/0.1801, allocations: 4 kB / 0.698 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008145/0.1809, allocations: 143.8 kB / 0.6981 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1809, allocations: 7.938 kB / 0.6981 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003915/0.1813, allocations: 51.92 kB / 0.6981 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.1814, allocations: 12 kB / 0.6982 GB, free: 13.75 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.0001546/0.1815, allocations: 204.8 kB / 0.6984 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.1816, allocations: 23.72 kB / 0.6984 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.1829, allocations: 0.6762 MB / 0.699 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1829, allocations: 4 kB / 0.699 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.183, allocations: 0 / 0.699 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.183, allocations: 8.016 kB / 0.699 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.1851, allocations: 1.355 MB / 0.7004 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.1851, allocations: 4 kB / 0.7004 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.1857, allocations: 132 kB / 0.7005 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.1857, allocations: 4 kB / 0.7005 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.1857, allocations: 8 kB / 0.7005 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1857, allocations: 7.938 kB / 0.7005 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1858, allocations: 3.938 kB / 0.7005 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.1867, allocations: 0.7189 MB / 0.7012 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.1869, allocations: 140.8 kB / 0.7014 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.187, allocations: 8 kB / 0.7014 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.1873, allocations: 43.88 kB / 0.7014 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.1874, allocations: 23.97 kB / 0.7014 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.1874, allocations: 16 kB / 0.7014 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001227/0.1876, allocations: 140.9 kB / 0.7016 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1876, allocations: 4 kB / 0.7016 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006206/0.1882, allocations: 152 kB / 0.7017 GB, free: 9.918 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.0002148/0.1884, allocations: 139.2 kB / 0.7019 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.1901, allocations: 0.8834 MB / 0.7027 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.1901, allocations: 7.938 kB / 0.7027 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004444/0.1905, allocations: 253.6 kB / 0.703 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.191, allocations: 53.2 kB / 0.703 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.1922, allocations: 0.7073 MB / 0.7037 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1926, allocations: 0.7838 MB / 0.7045 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005004/0.1931, allocations: 166.8 kB / 0.7046 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1933, allocations: 35.42 kB / 0.7047 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1933, allocations: 0 / 0.7047 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of Templates: time 0.009048/0.2023, allocations: 4.821 MB / 0.7094 GB, free: 2.059 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)