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.001226/0.001226, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.001085/0.001085, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.252/1.252, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 288.4 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9082/0.9082, allocations: 169.2 MB / 0.4985 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 91.42 kB / 0.5953 GB, free: 4.414 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1757, allocations: 86.97 MB / 0.6803 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004298/0.1801, allocations: 2.853 MB / 0.6831 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.1831, allocations: 1.999 MB / 0.685 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1832, allocations: 7.938 kB / 0.685 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.1841, allocations: 215.2 kB / 0.6852 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.1845, allocations: 175.4 kB / 0.6854 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.1851, allocations: 255.4 kB / 0.6856 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1855, allocations: 315 kB / 0.6859 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.1858, allocations: 182 kB / 0.6861 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.186, allocations: 123.6 kB / 0.6862 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.1863, allocations: 163.4 kB / 0.6864 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1863, allocations: 20 kB / 0.6864 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005265/0.1869, allocations: 383.3 kB / 0.6868 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.187, allocations: 91.77 kB / 0.6869 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1871, allocations: 111.4 kB / 0.687 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.1875, allocations: 363.2 kB / 0.6873 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1875, allocations: 0 / 0.6873 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1875, allocations: 0 / 0.6873 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.1875, allocations: 0 / 0.6873 GB, free: 6.199 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009106/0.1885, allocations: 0.5613 MB / 0.6879 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1885, allocations: 8.031 kB / 0.6879 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.1892, allocations: 104.5 kB / 0.688 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1895, allocations: 257.6 kB / 0.6882 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1895, allocations: 16.81 kB / 0.6882 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.178e-05/0.1896, allocations: 24.12 kB / 0.6883 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.1902, allocations: 377.9 kB / 0.6886 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1902, allocations: 4 kB / 0.6886 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.1903, allocations: 15.98 kB / 0.6886 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.1903, allocations: 23.77 kB / 0.6887 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006234/0.191, allocations: 363.6 kB / 0.689 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.1929, allocations: 1.722 MB / 0.6907 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.1935, allocations: 347.1 kB / 0.691 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.1939, allocations: 181.6 kB / 0.6912 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/0.194, allocations: 89.09 kB / 0.6913 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1941, allocations: 38.5 kB / 0.6913 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=25): time 1.413e-06/0.1941, allocations: 4 kB / 0.6913 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.007279/0.2013, allocations: 1.916 MB / 0.6932 GB, free: 15.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.2014, allocations: 85.09 kB / 0.6933 GB, free: 15.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.2016, allocations: 179.7 kB / 0.6934 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.2016, allocations: 29.7 kB / 0.6935 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.743e-05/0.2017, allocations: 152.4 kB / 0.6936 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2019, allocations: 118.3 kB / 0.6937 GB, free: 15.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.202, allocations: 77.58 kB / 0.6938 GB, free: 15.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2021, allocations: 330.8 kB / 0.6941 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.2026, allocations: 256.7 kB / 0.6944 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.2031, allocations: 337.4 kB / 0.6947 GB, free: 14.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.204, allocations: 0.5917 MB / 0.6953 GB, free: 13.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2041, allocations: 7.938 kB / 0.6953 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001131/0.2052, allocations: 0.6353 MB / 0.6959 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2052, allocations: 7.938 kB / 0.6959 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2052, allocations: 4 kB / 0.6959 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2053, allocations: 4 kB / 0.6959 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.2062, allocations: 152.1 kB / 0.696 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.2062, allocations: 7.938 kB / 0.6961 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.2066, allocations: 47.92 kB / 0.6961 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.2066, allocations: 20 kB / 0.6961 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005369/0.2072, allocations: 360.8 kB / 0.6965 GB, free: 12.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004681/0.2077, allocations: 326.6 kB / 0.6968 GB, free: 12.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009029/0.2086, allocations: 0.5667 MB / 0.6973 GB, free: 11.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.2086, allocations: 0 / 0.6973 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001094/0.2097, allocations: 0.6181 MB / 0.6979 GB, free: 10.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.2097, allocations: 12.28 kB / 0.6979 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2097, allocations: 4 kB / 0.6979 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.2097, allocations: 4 kB / 0.6979 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008165/0.2105, allocations: 139.8 kB / 0.6981 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2106, allocations: 4 kB / 0.6981 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.2109, allocations: 51.92 kB / 0.6981 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.211, allocations: 12 kB / 0.6981 GB, free: 10.59 MB / 0.545 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.000171/0.2112, allocations: 212.1 kB / 0.6984 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.2113, allocations: 19.72 kB / 0.6984 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.2126, allocations: 0.6608 MB / 0.699 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2126, allocations: 4 kB / 0.699 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2126, allocations: 0 / 0.699 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.2126, allocations: 3.984 kB / 0.699 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.2148, allocations: 1.372 MB / 0.7004 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.2148, allocations: 0 / 0.7004 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.2154, allocations: 124.1 kB / 0.7005 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.2154, allocations: 4 kB / 0.7005 GB, free: 8.078 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.2155, allocations: 8 kB / 0.7005 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.2155, allocations: 7.938 kB / 0.7005 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2155, allocations: 3.938 kB / 0.7005 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.2166, allocations: 0.7235 MB / 0.7012 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.2167, allocations: 136.8 kB / 0.7013 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.2168, allocations: 16 kB / 0.7014 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.2171, allocations: 39.92 kB / 0.7014 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.2172, allocations: 35.89 kB / 0.7014 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.2173, allocations: 12 kB / 0.7014 GB, free: 7.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001353/0.2174, allocations: 139.2 kB / 0.7016 GB, free: 6.906 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2174, allocations: 4 kB / 0.7016 GB, free: 6.902 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007259/0.2182, allocations: 144 kB / 0.7017 GB, free: 6.762 MB / 0.545 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.000268/0.2184, allocations: 140.5 kB / 0.7018 GB, free: 6.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.2201, allocations: 0.8915 MB / 0.7027 GB, free: 5.723 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.2201, allocations: 4 kB / 0.7027 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.2206, allocations: 253.3 kB / 0.703 GB, free: 5.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.2211, allocations: 63.45 kB / 0.703 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.2224, allocations: 0.8362 MB / 0.7038 GB, free: 4.523 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.2227, allocations: 0.7915 MB / 0.7046 GB, free: 3.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.2229, allocations: 31.42 kB / 0.7046 GB, free: 3.676 MB / 0.545 GB Notification: Performance of SimCode: time 1.914e-06/0.2229, allocations: 0 / 0.7046 GB, free: 3.676 MB / 0.545 GB Notification: Performance of Templates: time 0.2887/0.5116, allocations: 4.771 MB / 0.7093 GB, free: 60.73 MB / 0.545 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)