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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001356/0.001356, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 279.1 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 98.61 kB / 0.6057 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1812, allocations: 89.15 MB / 0.6928 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004748/0.186, allocations: 2.859 MB / 0.6956 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.1894, allocations: 2.111 MB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.648e-05/0.1895, allocations: 4 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007535/0.1903, allocations: 215.2 kB / 0.6979 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004604/0.1908, allocations: 199.3 kB / 0.6981 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.1913, allocations: 239.5 kB / 0.6983 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.1918, allocations: 454.8 kB / 0.6987 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.1922, allocations: 158.2 kB / 0.6989 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.1924, allocations: 103.6 kB / 0.699 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.1927, allocations: 155.4 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1928, allocations: 16 kB / 0.6991 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.1935, allocations: 479.1 kB / 0.6996 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.1937, allocations: 87.77 kB / 0.6997 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1938, allocations: 119.4 kB / 0.6998 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.1945, allocations: 498.5 kB / 0.7003 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1945, allocations: 0 / 0.7003 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.82e-07/0.1945, allocations: 0 / 0.7003 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1945, allocations: 0 / 0.7003 GB, free: 13.14 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.001073/0.1956, allocations: 0.5591 MB / 0.7008 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1957, allocations: 12.03 kB / 0.7008 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009957/0.1967, allocations: 132.5 kB / 0.7009 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.197, allocations: 252.5 kB / 0.7012 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.197, allocations: 12.81 kB / 0.7012 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.718e-05/0.1971, allocations: 28.06 kB / 0.7012 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007718/0.1979, allocations: 397.9 kB / 0.7016 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1979, allocations: 3.938 kB / 0.7016 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/0.198, allocations: 11.98 kB / 0.7016 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.198, allocations: 27.97 kB / 0.7016 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.1989, allocations: 375.7 kB / 0.702 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.2012, allocations: 1.741 MB / 0.7037 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008307/0.202, allocations: 356.9 kB / 0.704 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.2024, allocations: 186 kB / 0.7042 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.2026, allocations: 101 kB / 0.7043 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.2026, allocations: 34.42 kB / 0.7043 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.2027, allocations: 4 kB / 0.7044 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.009477/0.2121, allocations: 2.045 MB / 0.7063 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.2122, allocations: 81.11 kB / 0.7064 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.2124, allocations: 188 kB / 0.7066 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.2125, allocations: 33.7 kB / 0.7066 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2126, allocations: 152.3 kB / 0.7068 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.2127, allocations: 122.3 kB / 0.7069 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.2129, allocations: 77.59 kB / 0.707 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2131, allocations: 330.8 kB / 0.7073 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.2137, allocations: 264.7 kB / 0.7075 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.2145, allocations: 353.4 kB / 0.7079 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.2158, allocations: 0.619 MB / 0.7085 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2158, allocations: 3.938 kB / 0.7085 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001491/0.2173, allocations: 0.6544 MB / 0.7091 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.2174, allocations: 9.094 kB / 0.7091 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2174, allocations: 4 kB / 0.7091 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2174, allocations: 4 kB / 0.7091 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.2185, allocations: 159.9 kB / 0.7093 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2185, allocations: 7.984 kB / 0.7093 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.219, allocations: 51.92 kB / 0.7094 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.2191, allocations: 16 kB / 0.7094 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007153/0.2198, allocations: 375.9 kB / 0.7097 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006569/0.2205, allocations: 341.8 kB / 0.7101 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001248/0.2217, allocations: 0.5939 MB / 0.7106 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.753e-06/0.2217, allocations: 4 kB / 0.7106 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0015/0.2232, allocations: 0.6378 MB / 0.7113 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2233, allocations: 8 kB / 0.7113 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-06/0.2233, allocations: 0 / 0.7113 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.362e-06/0.2233, allocations: 4 kB / 0.7113 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.2243, allocations: 151.8 kB / 0.7114 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2243, allocations: 7.938 kB / 0.7114 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.2248, allocations: 56.08 kB / 0.7115 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.2249, allocations: 15.98 kB / 0.7115 GB, free: 1.125 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.0002089/0.2251, allocations: 204.8 kB / 0.7117 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2252, allocations: 19.81 kB / 0.7117 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.2268, allocations: 0.6841 MB / 0.7124 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.2269, allocations: 4 kB / 0.7124 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.2269, allocations: 3.938 kB / 0.7124 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2269, allocations: 3.984 kB / 0.7124 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.2294, allocations: 1.359 MB / 0.7137 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2294, allocations: 8.031 kB / 0.7137 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.2301, allocations: 119.8 kB / 0.7138 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.2301, allocations: 4 kB / 0.7138 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/0.2301, allocations: 11.98 kB / 0.7138 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/0.2301, allocations: 7.938 kB / 0.7139 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.2301, allocations: 3.938 kB / 0.7139 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.2313, allocations: 0.7105 MB / 0.7146 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.2315, allocations: 140.8 kB / 0.7147 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.2316, allocations: 15.94 kB / 0.7147 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.232, allocations: 43.88 kB / 0.7147 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2321, allocations: 27.97 kB / 0.7148 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.2321, allocations: 16 kB / 0.7148 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002008/0.2323, allocations: 151.8 kB / 0.7149 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2323, allocations: 0 / 0.7149 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006901/0.233, allocations: 144 kB / 0.7151 GB, free: 13.29 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.0002289/0.2333, allocations: 139.1 kB / 0.7152 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.2352, allocations: 0.8712 MB / 0.7161 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2352, allocations: 0 / 0.7161 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.2357, allocations: 252.2 kB / 0.7163 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.2363, allocations: 47.3 kB / 0.7163 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.2376, allocations: 0.8155 MB / 0.7171 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.2381, allocations: 0.776 MB / 0.7179 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006415/0.2388, allocations: 182.7 kB / 0.7181 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.2389, allocations: 35.42 kB / 0.7181 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.2389, allocations: 0 / 0.7181 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.009814/0.2488, allocations: 4.949 MB / 0.7229 GB, free: 5.203 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)