Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.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.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.008057/0.008057, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.606/1.606, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 257.4 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.954/0.954, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007278/0.0007279, allocations: 14.31 kB / 0.5987 GB, free: 27.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.169, allocations: 88.53 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.004359/0.1734, allocations: 3.973 MB / 0.689 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.177, allocations: 2.63 MB / 0.6916 GB, free: 8.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1772, allocations: 13.12 kB / 0.6916 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1774, allocations: 67.42 kB / 0.6917 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007041/0.1781, allocations: 369.7 kB / 0.692 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009615/0.1791, allocations: 484.1 kB / 0.6925 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008767/0.18, allocations: 1.009 MB / 0.6935 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007219/0.1807, allocations: 0.5265 MB / 0.694 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.181, allocations: 223.1 kB / 0.6942 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.1815, allocations: 338.7 kB / 0.6945 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1815, allocations: 20 kB / 0.6945 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.182, allocations: 387.1 kB / 0.6949 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1822, allocations: 175.5 kB / 0.6951 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.1824, allocations: 260.4 kB / 0.6953 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.1831, allocations: 0.7279 MB / 0.696 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1831, allocations: 3.938 kB / 0.696 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1831, allocations: 0 / 0.696 GB, free: 3.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1831, allocations: 0 / 0.696 GB, free: 3.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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001229/0.1844, allocations: 0.754 MB / 0.6968 GB, free: 3.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1844, allocations: 8.031 kB / 0.6968 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/0.1853, allocations: 148.1 kB / 0.6969 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.1857, allocations: 371 kB / 0.6973 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.1858, allocations: 33.36 kB / 0.6973 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.079e-05/0.1859, allocations: 48.36 kB / 0.6973 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.1873, allocations: 0.8442 MB / 0.6982 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.1873, allocations: 7.938 kB / 0.6982 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.1874, allocations: 19.94 kB / 0.6982 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.595e-05/0.1875, allocations: 68.95 kB / 0.6983 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.1888, allocations: 0.6984 MB / 0.6989 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.1925, allocations: 4.5 MB / 0.7033 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.1938, allocations: 0.6227 MB / 0.7039 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/0.1944, allocations: 313.5 kB / 0.7042 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1944, allocations: 8 kB / 0.7042 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1944, allocations: 38.56 kB / 0.7043 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.724e-06/0.1944, allocations: 0 / 0.7043 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.002099/0.1965, allocations: 1.003 MB / 0.7053 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.1966, allocations: 81.11 kB / 0.7053 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.1972, allocations: 357.5 kB / 0.7057 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.1972, allocations: 33.64 kB / 0.7057 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.1975, allocations: 287.8 kB / 0.706 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.1977, allocations: 134.1 kB / 0.7061 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1978, allocations: 45.7 kB / 0.7062 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001932/0.1981, allocations: 358.7 kB / 0.7065 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008553/0.1989, allocations: 280.9 kB / 0.7068 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/0.1999, allocations: 499.9 kB / 0.7072 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.2012, allocations: 0.8098 MB / 0.708 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2012, allocations: 4 kB / 0.708 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001419/0.2026, allocations: 0.8203 MB / 0.7088 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.2028, allocations: 290.7 kB / 0.7091 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2028, allocations: 4 kB / 0.7091 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.2029, allocations: 12 kB / 0.7091 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.2036, allocations: 175.7 kB / 0.7093 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.2036, allocations: 12 kB / 0.7093 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.2041, allocations: 87.64 kB / 0.7094 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.2041, allocations: 27.98 kB / 0.7094 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.2041, allocations: 4 kB / 0.7094 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/0.2053, allocations: 0.6555 MB / 0.7101 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.2053, allocations: 8 kB / 0.7101 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.2054, allocations: 8 kB / 0.7101 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.206, allocations: 159.8 kB / 0.7102 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.206, allocations: 16.19 kB / 0.7103 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.2064, allocations: 67.7 kB / 0.7103 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.2064, allocations: 28.03 kB / 0.7103 GB, free: 4.305 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0002916/0.2067, allocations: 290.1 kB / 0.7106 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.2068, allocations: 47.52 kB / 0.7107 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.2082, allocations: 0.6773 MB / 0.7113 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.2082, allocations: 4 kB / 0.7113 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.2082, allocations: 0 / 0.7113 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2082, allocations: 3.984 kB / 0.7113 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.2105, allocations: 1.482 MB / 0.7128 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2105, allocations: 4 kB / 0.7128 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.2113, allocations: 155.7 kB / 0.7129 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.2113, allocations: 4 kB / 0.7129 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.2113, allocations: 8 kB / 0.7129 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.2113, allocations: 4.156 kB / 0.713 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.2113, allocations: 11.94 kB / 0.713 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.2126, allocations: 0.8382 MB / 0.7138 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.2128, allocations: 172.4 kB / 0.7139 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.161e-05/0.2129, allocations: 12 kB / 0.714 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.2133, allocations: 59.92 kB / 0.714 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.2134, allocations: 39.83 kB / 0.7141 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.2135, allocations: 12 kB / 0.7141 GB, free: 352 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002606/0.2137, allocations: 251.2 kB / 0.7143 GB, free: 104 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2137, allocations: 0 / 0.7143 GB, free: 104 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007696/0.2145, allocations: 200 kB / 0.7145 GB, free: 15.9 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.0001532/0.2147, allocations: 115.1 kB / 0.7146 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.2164, allocations: 1.011 MB / 0.7156 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.2164, allocations: 0 / 0.7156 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.217, allocations: 320.2 kB / 0.7159 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/0.2179, allocations: 118.6 kB / 0.716 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.2197, allocations: 1.257 MB / 0.7172 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.2203, allocations: 0.8797 MB / 0.7181 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005684/0.2208, allocations: 208 kB / 0.7183 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.221, allocations: 39.42 kB / 0.7183 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.221, allocations: 0 / 0.7183 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.0105/0.2315, allocations: 6.169 MB / 0.7244 GB, free: 5.793 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1)