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.001389/0.001389, 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.001594/0.001594, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.455/1.455, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003633/0.003633, allocations: 286.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.5069 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 96.94 kB / 0.6059 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1732, allocations: 89.15 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004621/0.1779, allocations: 2.856 MB / 0.6958 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.1812, allocations: 2.068 MB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1814, allocations: 4 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007544/0.1821, allocations: 215.2 kB / 0.698 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.1826, allocations: 199.3 kB / 0.6982 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.1833, allocations: 255.4 kB / 0.6984 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.1837, allocations: 319 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.184, allocations: 170.2 kB / 0.6989 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.1842, allocations: 123.6 kB / 0.699 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1845, allocations: 163.4 kB / 0.6992 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.1846, allocations: 20 kB / 0.6992 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006391/0.1852, allocations: 415.2 kB / 0.6996 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1854, allocations: 95.77 kB / 0.6997 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1855, allocations: 115.4 kB / 0.6998 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006268/0.1861, allocations: 0.4947 MB / 0.7003 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1861, allocations: 4 kB / 0.7003 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1861, allocations: 0 / 0.7003 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1862, allocations: 4 kB / 0.7003 GB, free: 13.21 MB / 0.4981 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.0009639/0.1871, allocations: 0.5537 MB / 0.7008 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1872, allocations: 8.031 kB / 0.7008 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009984/0.1882, allocations: 136.5 kB / 0.701 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.1885, allocations: 257.4 kB / 0.7012 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.1885, allocations: 12.81 kB / 0.7012 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.1886, allocations: 24.11 kB / 0.7012 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.1894, allocations: 393.9 kB / 0.7016 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1894, allocations: 7.984 kB / 0.7016 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/0.1894, allocations: 11.98 kB / 0.7016 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.1895, allocations: 19.98 kB / 0.7017 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000767/0.1903, allocations: 375.6 kB / 0.702 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.1925, allocations: 1.749 MB / 0.7037 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.1933, allocations: 356.9 kB / 0.7041 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.1937, allocations: 190 kB / 0.7042 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.1939, allocations: 89.09 kB / 0.7043 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.194, allocations: 42.42 kB / 0.7044 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.512e-06/0.194, allocations: 0 / 0.7044 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.009686/0.2036, allocations: 2.048 MB / 0.7064 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.974e-05/0.2037, allocations: 81.11 kB / 0.7064 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.2039, allocations: 184 kB / 0.7066 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.204, allocations: 33.7 kB / 0.7067 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2041, allocations: 156.3 kB / 0.7068 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.2042, allocations: 114.3 kB / 0.7069 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2044, allocations: 89.45 kB / 0.707 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2046, allocations: 338.8 kB / 0.7073 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.2052, allocations: 264.7 kB / 0.7076 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006713/0.2059, allocations: 341.5 kB / 0.7079 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.2072, allocations: 0.619 MB / 0.7085 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2072, allocations: 7.938 kB / 0.7085 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001481/0.2087, allocations: 0.6583 MB / 0.7092 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2087, allocations: 4 kB / 0.7092 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2087, allocations: 4 kB / 0.7092 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2087, allocations: 4 kB / 0.7092 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.2098, allocations: 151.8 kB / 0.7093 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.2098, allocations: 4 kB / 0.7093 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.2103, allocations: 60.09 kB / 0.7094 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.2104, allocations: 16 kB / 0.7094 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007147/0.2111, allocations: 363.9 kB / 0.7097 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006456/0.2118, allocations: 341.8 kB / 0.7101 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00122/0.213, allocations: 0.5942 MB / 0.7106 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.213, allocations: 0 / 0.7106 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001405/0.2144, allocations: 0.6452 MB / 0.7113 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.2144, allocations: 8.281 kB / 0.7113 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.2144, allocations: 4 kB / 0.7113 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.2144, allocations: 4 kB / 0.7113 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/0.2154, allocations: 159.7 kB / 0.7114 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2155, allocations: 4 kB / 0.7114 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.2159, allocations: 51.92 kB / 0.7115 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.216, allocations: 24 kB / 0.7115 GB, free: 1.191 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.0001992/0.2162, allocations: 204.8 kB / 0.7117 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.304e-05/0.2163, allocations: 19.81 kB / 0.7117 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.2179, allocations: 0.6802 MB / 0.7124 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2179, allocations: 4 kB / 0.7124 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2179, allocations: 0 / 0.7124 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.2179, allocations: 3.984 kB / 0.7124 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.2203, allocations: 1.363 MB / 0.7137 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2204, allocations: 4 kB / 0.7137 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006381/0.221, allocations: 124.1 kB / 0.7139 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.221, allocations: 7.938 kB / 0.7139 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.2211, allocations: 8 kB / 0.7139 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.2211, allocations: 11.88 kB / 0.7139 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2211, allocations: 0 / 0.7139 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.2222, allocations: 0.7105 MB / 0.7146 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.2224, allocations: 140.8 kB / 0.7147 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.2225, allocations: 15.98 kB / 0.7147 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.2229, allocations: 43.89 kB / 0.7148 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.223, allocations: 27.95 kB / 0.7148 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.223, allocations: 8 kB / 0.7148 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001985/0.2232, allocations: 156.4 kB / 0.715 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2232, allocations: 0 / 0.715 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006939/0.2239, allocations: 148 kB / 0.7151 GB, free: 13.36 MB / 0.5137 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.0002324/0.2241, allocations: 139.2 kB / 0.7152 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.2262, allocations: 0.9174 MB / 0.7161 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2262, allocations: 0.75 kB / 0.7161 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004905/0.2267, allocations: 256.2 kB / 0.7164 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.2272, allocations: 50.83 kB / 0.7164 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.2286, allocations: 0.8206 MB / 0.7172 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.229, allocations: 0.7838 MB / 0.718 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006368/0.2297, allocations: 178.8 kB / 0.7182 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.2299, allocations: 39.36 kB / 0.7182 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.2299, allocations: 0 / 0.7182 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.009921/0.2398, allocations: 5.133 MB / 0.7232 GB, free: 5.027 MB / 0.5137 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)