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.001558/0.001558, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001851/0.001851, allocations: 190.6 kB / 16.25 MB, free: 6.574 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 279 kB / 290.4 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9383/0.9383, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 92.34 kB / 0.5947 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1576, allocations: 86.99 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.00577/0.1634, allocations: 4.356 MB / 0.6839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.1676, allocations: 2.634 MB / 0.6865 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.168, allocations: 11.94 kB / 0.6865 GB, free: 10.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.1692, allocations: 350.7 kB / 0.6868 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000904/0.1701, allocations: 362.5 kB / 0.6872 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1714, allocations: 490.4 kB / 0.6876 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.1726, allocations: 0.7242 MB / 0.6883 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008171/0.1734, allocations: 407.7 kB / 0.6887 GB, free: 7.773 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005372/0.1739, allocations: 271 kB / 0.689 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.1747, allocations: 378.7 kB / 0.6893 GB, free: 7.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.1748, allocations: 40 kB / 0.6894 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.1754, allocations: 319.3 kB / 0.6897 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.1756, allocations: 195.5 kB / 0.6899 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.176, allocations: 258.7 kB / 0.6901 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008835/0.1769, allocations: 0.7592 MB / 0.6909 GB, free: 5.578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1769, allocations: 0 / 0.6909 GB, free: 5.578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1769, allocations: 0 / 0.6909 GB, free: 5.578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.437e-06/0.1769, allocations: 3.938 kB / 0.6909 GB, free: 5.574 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.001522/0.1784, allocations: 0.8301 MB / 0.6917 GB, free: 4.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.1785, allocations: 12.03 kB / 0.6917 GB, free: 4.684 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008516/0.1793, allocations: 148 kB / 0.6918 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.1798, allocations: 367.1 kB / 0.6922 GB, free: 4.141 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1798, allocations: 37.36 kB / 0.6922 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/0.1799, allocations: 48.3 kB / 0.6923 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.1812, allocations: 0.8246 MB / 0.6931 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.1812, allocations: 11.78 kB / 0.6931 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.571e-05/0.1813, allocations: 20 kB / 0.6931 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-05/0.1814, allocations: 64.95 kB / 0.6932 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.1827, allocations: 0.6711 MB / 0.6938 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003895/0.1866, allocations: 4.488 MB / 0.6982 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.1878, allocations: 0.6032 MB / 0.6988 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005529/0.1884, allocations: 301.5 kB / 0.6991 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.1884, allocations: 11.98 kB / 0.6991 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1885, allocations: 38.56 kB / 0.6991 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=38): time 1.823e-06/0.1885, allocations: 0 / 0.6991 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.001913/0.1904, allocations: 0.9561 MB / 0.7 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1905, allocations: 81.11 kB / 0.7001 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1908, allocations: 349.5 kB / 0.7005 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.1909, allocations: 29.7 kB / 0.7005 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.1911, allocations: 287.8 kB / 0.7008 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.1912, allocations: 138 kB / 0.7009 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.1914, allocations: 114 kB / 0.701 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1915, allocations: 354.7 kB / 0.7013 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.1921, allocations: 274.8 kB / 0.7016 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/0.1927, allocations: 484 kB / 0.7021 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.194, allocations: 0.7747 MB / 0.7028 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.194, allocations: 0 / 0.7028 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001394/0.1954, allocations: 0.7893 MB / 0.7036 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1954, allocations: 8 kB / 0.7036 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1954, allocations: 8 kB / 0.7036 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1954, allocations: 11.98 kB / 0.7036 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.1962, allocations: 172.3 kB / 0.7038 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.1962, allocations: 15.94 kB / 0.7038 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.1967, allocations: 71.77 kB / 0.7039 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.1968, allocations: 31.98 kB / 0.7039 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005761/0.1973, allocations: 357.7 kB / 0.7042 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005588/0.1979, allocations: 443.6 kB / 0.7047 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.1989, allocations: 0.6862 MB / 0.7053 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.495e-06/0.199, allocations: 7.938 kB / 0.7053 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001262/0.2002, allocations: 0.6854 MB / 0.706 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.2002, allocations: 8 kB / 0.706 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2003, allocations: 8 kB / 0.706 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2003, allocations: 12 kB / 0.706 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.2008, allocations: 147.8 kB / 0.7062 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2009, allocations: 15.94 kB / 0.7062 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.2013, allocations: 63.94 kB / 0.7063 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.2013, allocations: 28 kB / 0.7063 GB, free: 4.758 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.0001635/0.2015, allocations: 220.7 kB / 0.7065 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.2016, allocations: 43.44 kB / 0.7065 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.2028, allocations: 0.6573 MB / 0.7072 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.2029, allocations: 4 kB / 0.7072 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2029, allocations: 4 kB / 0.7072 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2029, allocations: 0 / 0.7072 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.2051, allocations: 1.439 MB / 0.7086 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2051, allocations: 4 kB / 0.7086 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/0.2058, allocations: 155.9 kB / 0.7087 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.2058, allocations: 4 kB / 0.7087 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.2059, allocations: 11.94 kB / 0.7088 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.2059, allocations: 8.016 kB / 0.7088 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2059, allocations: 3.984 kB / 0.7088 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.2071, allocations: 0.8031 MB / 0.7095 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.2072, allocations: 172.4 kB / 0.7097 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.2073, allocations: 11.94 kB / 0.7097 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.2078, allocations: 51.92 kB / 0.7098 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2079, allocations: 31.95 kB / 0.7098 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.2079, allocations: 12 kB / 0.7098 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002544/0.2082, allocations: 255.2 kB / 0.7101 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2082, allocations: 0 / 0.7101 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007554/0.2089, allocations: 200 kB / 0.7102 GB, free: 0.5469 MB / 0.4981 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.0001336/0.2091, allocations: 107.2 kB / 0.7104 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.2109, allocations: 1.038 MB / 0.7114 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.211, allocations: 0 / 0.7114 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005531/0.2115, allocations: 296.5 kB / 0.7116 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008257/0.2124, allocations: 147.1 kB / 0.7118 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.2142, allocations: 1.245 MB / 0.713 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.2147, allocations: 0.8794 MB / 0.7139 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005849/0.2152, allocations: 200.1 kB / 0.7141 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.2154, allocations: 39.44 kB / 0.7141 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2154, allocations: 0 / 0.7141 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of Templates: time 0.01113/0.2266, allocations: 6.518 MB / 0.7205 GB, free: 6.09 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)